- Видео 578
- Просмотров 3 295 801
Brent Ozar Unlimited
США
Добавлен 27 янв 2007
Learn to make Microsoft SQL Server go faster.
Office Hours: Creepy Vancouver Edition
I strapped on my Apple Vision Pro headset to take your top-voted questions from pollgab.com/room/brento. Here's what we covered:
00:00 Start
01:03 MyTeaGotCold: Have you ever seen SSISDB migrated on to a new server without difficulty? I've never seen it go smoothly.
01:52 ThatSteveCena: www.sqlskills.com/blogs/jonathan/tracking-problematic-pages-splits-in-sql-server-2012-extended-events-no-really-this-time/ Is the juice worth the squeeze to try individually tuning your index fill factors, or are there better means of performance gains?
02:40 Joseph: Getting a corrupt database message when running maintainance but the DB ID does not exist "DESCRIPTION: Corruption in database ID -4294967288, o...
00:00 Start
01:03 MyTeaGotCold: Have you ever seen SSISDB migrated on to a new server without difficulty? I've never seen it go smoothly.
01:52 ThatSteveCena: www.sqlskills.com/blogs/jonathan/tracking-problematic-pages-splits-in-sql-server-2012-extended-events-no-really-this-time/ Is the juice worth the squeeze to try individually tuning your index fill factors, or are there better means of performance gains?
02:40 Joseph: Getting a corrupt database message when running maintainance but the DB ID does not exist "DESCRIPTION: Corruption in database ID -4294967288, o...
Просмотров: 486
Видео
Office Hours: 3 Answers at Lake Michigan
Просмотров 84816 часов назад
Your top-3 questions from pollgab.com/room/brento were about single-threaded rollbacks, picking a SQL Server version for upgrades, and using snapshots to avoid blocking. (Unfortunately I didn't have the question recorder on for this one.)
Office Hours: Database Answers in Nashville
Просмотров 1,4 тыс.День назад
I went through your top voted questions from pollgab.com/room/brento. Here’s what we covered: 00:00 Start 00:38 Bisal Basyal: What is the best way to manage roles in sql server in Azure VMs (multiple). We want separate logins for each users but it should be same on all Azure SQL VMs. We are currently using windows Cred. setting credentials on credential manager for that server IP but it is too ...
Office Hours: 5-Minute Speed Round
Просмотров 1,5 тыс.14 дней назад
A bunch of your top-voted questions at pollgab.com/room/brento didn't need long answers, so I zipped 'em out in a speed round: 00:00 Start 00:21 MyTeaGotCold: Why do you consider the Task Scheduler easier to failover/restore than Agent Jobs? I've found it much easier to just restore MSDB than jump through the nightmare of importing XML tasks back in to the Scheduler. 00:33 DBA JR: hi If I have ...
Office Hours: 16 Questions
Просмотров 1,9 тыс.21 день назад
Like Sixteen Candles, but different: I go through your top-voted questions from pollgab.com/room/brento about databases. Here's what we covered today: 00:00 Start 01:26 GuaroSql: Hey Brent! How are you? It is necessary to enable ADR in sql 2019 in order to row versioning work better? Or it is optional? I just realized it is turned off in my sql 2019 databases. Thanks! 02:42 RoJo: If I'm upgradi...
Office Hours: I Feel Like An Amateur Edition
Просмотров 3,2 тыс.Месяц назад
I went through your top-voted questions from pollgab.com/room/brento, but I had audio problems, then I had camera problems, hahaha. Here's what we covered: 00:00 Start 01:52 Does Time Really Exist: Hi Brent! What is the best way to ETL? web application, SSIS, linked server, ... 03:55 MyTeaGotCold: What is your vision for what SQL Server will be like in 2030? I feel like a fool for thinking it w...
Office Hours: Answers For Your Database Questions
Просмотров 3,1 тыс.Месяц назад
Y'all post questions and upvote the best ones at pollgab.com/room/brento and I discussed 'em in my home office: 00:00 Start 00:45 Eve: When should you/should you not execute the SSMS recommended Missing Index in the execution plan? 02:42 MyTeaGotCold: Logging sp_WhoIsActive and sp_BlitzFirst to a table has come up on your blog a few times. Do you still bother with it on versions that support Qu...
Office Hours: Ask Me Anything About Azure and SQL Server
Просмотров 3,5 тыс.Месяц назад
I went through your top-voted questions from pollgab.com/room/brento. Here's what we covered today: 00:00 Start 02:30 MyTeaGotCold: Has your opinion of Lock Pages in Memory changed over the past 10 years? 03:48 MustangKirby: How can I check what data or pages are in cache? I woke up last night wondering if data I'm writing takes up cache memory. 05:50 DBADoug: Why is SELECT INTO faster than INS...
Office Hours: Database Answers from Hong Kong
Просмотров 4 тыс.2 месяца назад
My time in Hong Kong is coming to an end, so I sat down in the hotel lobby before breakfast and went through your top-voted questions from pollgab.com/room/brento. Here's what we covered: 00:00 Start 01:32 MyTeaGotCold: Are there any signs of brain drain from SQL Server to Postgres? It seems that every SQL Server guru agrees that Postgres is better, even if SQL Server pays them more. 02:33 Froz...
Office Hours: Database Questions in Hong Kong
Просмотров 3,1 тыс.2 месяца назад
Today's Office Hours comes to you from the Hong Kong harbor. I went through your top-voted questions from pollgab.com/room/brento. Here's what we covered: 00:00 Start 01:18 Jason G - RN & Accidental DBA: Would you elaborate on DB Owner implications? sp_Blitz help recommends using the SA account, but the articles referenced by Andreas Wolter advocate for using low privileged accounts which are D...
Office Hours: Ask Me Anything About Databases and Careers
Просмотров 3,6 тыс.2 месяца назад
Some career-related questions popped into the queue at pollgab.com/room/brento along with the usual database questions. Here's what we covered: 00:00 Start 02:10 Ethan: What percent of your constant care shops require encryption to connect with SQL server? What are your thoughts on mandatory encryption? 03:24 Miles: Hi Brent, an app that spawns multiple spid's,multiple txns.While troubleshootin...
Office Hours: Just Three Questions
Просмотров 2,7 тыс.2 месяца назад
Office Hours: Just Three Questions
Office Hours: 25 Answers in 10 Minutes
Просмотров 2,9 тыс.3 месяца назад
Office Hours: 25 Answers in 10 Minutes
Office Hours from the Apple Vision Pro
Просмотров 3,1 тыс.3 месяца назад
Office Hours from the Apple Vision Pro
Office Hours in Telluride Colorado
Просмотров 2,3 тыс.3 месяца назад
Office Hours in Telluride Colorado
Using the Apple Vision Pro in My Home Office
Просмотров 9 тыс.3 месяца назад
Using the Apple Vision Pro in My Home Office
PowerBI and Fabric Q&A with Eugene Meidinger
Просмотров 2,6 тыс.3 месяца назад
PowerBI and Fabric Q&A with Eugene Meidinger
Office Hours: Ask Me Anything About Microsoft Databases
Просмотров 3,6 тыс.4 месяца назад
Office Hours: Ask Me Anything About Microsoft Databases
Office Hours: The Question Isn't The Problem Edition
Просмотров 2,8 тыс.4 месяца назад
Office Hours: The Question Isn't The Problem Edition
Office Hours: Ask Me Anything About Azure and SQL Server
Просмотров 3,1 тыс.4 месяца назад
Office Hours: Ask Me Anything About Azure and SQL Server
Office Hours: Oddball Questions Edition
Просмотров 3,2 тыс.4 месяца назад
Office Hours: Oddball Questions Edition
Office Hours: Holiday Speed Round Edition
Просмотров 3,1 тыс.5 месяцев назад
Office Hours: Holiday Speed Round Edition
Working on First Responder Kit Pull Requests, Part 2
Просмотров 1,7 тыс.5 месяцев назад
Working on First Responder Kit Pull Requests, Part 2
Working on First Responder Kit Pull Requests, Part 1
Просмотров 2,6 тыс.5 месяцев назад
Working on First Responder Kit Pull Requests, Part 1
Office Hours: Ask Me Anything About SQL Server
Просмотров 2,9 тыс.5 месяцев назад
Office Hours: Ask Me Anything About SQL Server
Office Hours: After the Nap Edition
Просмотров 2,3 тыс.5 месяцев назад
Office Hours: After the Nap Edition
Oh man!! I was so hoping my question was going to get wiped LOL. After I submitted it, I saw another of your videos where you went into page splits and fill factors. You said exactly where my brain went too. Yes; it's a cool thing you can do but 'cool' isn't where you need to spend your time. I so hope I make it to one of your in person/live courses. Please keep up the amazing work!!!!!
No worries! Glad you're enjoying the work.
Good questions. At times the picture looked like a Sony Wii and other times it looked like a summoned spirit from a Ouija board. Not quite the "uncanny vally" but weird. Thank fully still identifiable as fake. No one would cast you as Vinnie Barbarino from "Welcome Back Kotter"
It's pretty hilarious to see in real life, too. I laugh when I'm watching the video.
omg its Brent AI
FROM THE FUTURE
4:51 my friend says maybe the existing index has the key columns in the wrong order, because missing index recommendations don’t necessarily list the key columns in order
Claims like this often confuse me. People never seem to agree on how much index key order matters. As far as I'm concerned, as long as your equality columns are first and your most selective non-equality column is immediately after those, you're fine. The ordering of the equality columns doesn't really matter.
If only there was someone with a class who could teach you the answers ... but I guess we'll never know, eh? WINK WINK
I mostly love videos with timestamps, but all the same great video
Glad you like them!
Thanks for the free class, I couldn't see this document in the first responder kit that I downloaded. Is there a different kit? Or is the document somewhere else? Thanks!
That's no longer available, unfortunately - this class is pretty old.
Nice office
Thanks!
2:32 if support and security patches weren’t problems to solve I would still have servers on 2008
I remember 2008 pretty fondly too!
01:06 Does Brent also prefer log shipping to snapshot isolation? I don't know how the costs compare with that of database snapshots, but all of his arguments against database snapshots seem to apply to snapshot isolation. In both cases, you're out of date from the moment you run a query and you're paying extra performance costs to maintain the snapshot. Snapshot isolation is easier to keep up to date and doesn't need synonyms, but you're also paying for it at all times.
It's kinda like asking, "Does Brent prefer a saw or a screwdriver?" They're both tools, and they have different purposes.
Yes, learned something. Thanks for the heads up on SQL 2022. "Insert a negative Zero into a decimal or numeric" I'm a bit more hesitant to put our PeopleSoft on 2022 now. It took almost two years to find that bug?
01:19 If snapshot is populated with “old” data, then inserts are out of scope. We get “old” data by deletes and updates, don’t we?
I'm not exactly sure what you mean - your best bet is probably to read the documentation on how database snapshots work. (Rather than us trying to go back and forth with examples here in the comments.)
@@BrentOzarUnlimited indeed, modified data pages, thanks!
The C in Winchester is a G. No way you could convince me otherwise. Lake Michigan looked cold!
K
Another good vid, thanks Brent. By the way, you've got red on you.
Let's go to the Winchester, have a nice cold pint, and wait for all of this to blow over.
Great video. Learned quite a lot. Time to go optimize my maintenance jobs! 😅
Glad it was helpful!
"Why are you carrying a ham" thud
HAHAHA
While that Map reference was terrifying, it was surprisingly effective. 😎
Cloud changes every day
ayup
I am moving over to SQLServer from the SYBASE world. In many cases we used non clustered indexes as our PK and clustered indexes to reduce contention for the last page. In current MS SQL is best practice to clustered on the PK ?
Yep!
Speed Round of issue we don't have since moving to letting Microsoft manage our databases. Pro's and Con's of course, but damn, I don't miss having to worry about this stuff.
That buzzer is way louder than your vocal audio and I never want to hear it again.
Mash that unsubscribe button
Unfortunately the Shao Kahn / NoobSaibot joke went unnoticed. Guess Brent isn't a Mortal Kombat fan. 😀
Definitely not.
Tobías Boon would be proud. My favorite is @BringThePain
It's a particularly sore subject given the ex employees that Brent used to employ.
@@matthewr3986 uh oh - what does that mean?
@@BrentOzarUnlimitedBrent I like you and your work a lot. We've met in person a few times though I doubt you'd remember me given how many people you meet. I'll just stop while I'm behind. 😊
my ears...
BEEP BEEP
On the cost of labor vs licensing - my Father In Law told me a story about a data migration that they had to do, where the Vendor had some proprietary application and database system and a separate proprietary tool for exporting the data. They wanted $X million (or some other relatively obscene number) to license the export tool just for this project. FIL decided that for the amount of data, it was cheaper to hire something like a dozen uni students to copy-paste the data from the old system to the new system for 2 weeks. The Vendor accused them of reverse engineering the database, but backed down when they saw the receipts
have you tried goat simulator?
I have! I played it years ago when it first came out.
Fallout? Really??? I thought you were kidding. Couldn't get past the first 30 minutes of that total piece of dog dung.
I'll make you a deal: you don't talk that way about TV shows I like, and I won't do a public code review of your T-SQL. Fair? ;-)
A.I. - more interesting answer than "our future brains" who will tell us what to do and when.
The old interplay PC Fallout games from the 90s are amazing CRPGs and all turned based. Might be more your speed.
When you gonna get rid of the granny lights, BrentO?
I did today, actually!
Great episode Brent. By the way - what are you thoughts on dBase? 😅
Visual Fox Pro ... bruhhh
super appreciative for you and all of the content you produce. many thanks Brent!
My pleasure!
There is not enough blogs on Postgress and material
"Watch Brent Tune Camera Settings"... jokes aside, keep up the fantastic work.
Hahaha, yeah!
You as a DBA don't want Copilot on the SQL server, but translations/generations on the SQL server probably ensures another core or two that MS can make you pay for,, and they're happy to see who'll bite.
Yeah, translations will probably get a lot of interest, even though it could be done just as effectively on app servers.
Hi Anyone , i have a doubt .Do deadlocks persist more than 1 hour ? .I argued with my seniors that it will be only 5 seconds but they shut my mouth by saying they have seen 2 days of Deadlock in their previous environment(legacy versions) , am i missing out something?
I’d ask if they can show you deadlocks lasting for 2 days. My complete guess would be blocking may have taken place that lasted that long, then resulted in a deadlock. Deadlocks also need to rollback the lowest cost or lowest priority query too which could also add to time. Whilst the deadlock scanner executes every 5 seconds by default, the queries themselves may take longer, it may be that that’s getting confused here. Run a query for a day, it deadlocks, has to rollback which takes another day as a wild example.
@@James-gu7di thank you for your reply buddy, i am clear
Deadlocks fix themselves automatically within 5 seconds. They were probably thinking blocking.
@@BrentOzarUnlimited yeah thought the same , thank you brent
18:30 The abbreviation for “Artificial Intelligence” would be spelled “IA” rather than “AI” in both Italian and Spanish. (It’s definitely true in Spanish. It should be the same in Italian, but I admit I haven’t actually checked discussions about it in Italian and Italian is more prone to adopting anglicisms than Spanish, so I might be wrong there)
Answer to question #1: Pants. The first thing I reach for is pants.
for the DB and AG question @4:04...I would have just said, use an AG listener and point to that DNS entry.
Mailbox - the 14:53 - Broadcom's decision has made us, one small group, look at LINUX. The cloud turns a capitol expense into an operating expense allowing for faster hardware changes (for a price. Plus we do not scale up or down often) HOWEVER mission should drive on-prem vs. cloud "in my opinion" Why? Cloud adds many more pieces that can go wrong or break. If it is ok to have the production system down for how ever long it takes another company to fix the cable, DNS entry, or data center then ok. Ask if TEAMS, OUTLOOK or another service has ever been slow or had an outage. For me 9-1-1 emergency system will be the last thing put in the cloud as our primary. Also if going off prem, con sider two sites - else it is still a single point of failure.
For that “why” question at 6:23: I wager even Microsoft wouldn’t “know”. You would really need to ask the original programmers employed by Sybase back in the mid-1980’s.
Ashton-Tate; hadn't thought of them in years... no, decades.
In my testing, it looks like SQL (or Sybase) initializes all of the variables up front, albeit with null values: if 1 = 0 declare @d int = 1 if @d is null select 'it is null' returns "it is null"
Often the case with ERP systems is that the major vendors are moving to the cloud and direct database access through customer developed enhancements cannot be tolerated in a shared cloud infrastructure. Epicor Kinetic ERP is a prime example. They are blocking use of key .Net libraries that provide direct database or filesystem access.
That's absolutely true, and I empathize with the ERP vendors there. They don't want customers going anywhere near direct database access, and they need to log (and prevent some) queries being run.
very hairy chest there Brent!
Anonymous Indians😢 (AI)
Isn't that awful? I died inside when I heard that.
Guitar string for the painting
Oh that's a great idea! That's the best one I've heard yet. Thanks, that's what I'll try!
Excellent. Nice combination of good advice and practicality. Good work!
Glad you enjoyed it!
Hello Brent, Really nice videos you've got there. You're a great orator. I really wanted to know based on your overall years of experience, can you create a pie chart for creating distribution of most important points (as labels) and their weightage (as percentage) when it comes to performance tuning and optimization? Also, if I am asking too much over here, then please reply over here in comment section like the following. Indexes : 25%, statistics : 35% and so on .... Thank you for the work that you put in. :)
Howdy! thanks, glad you like my work. I don't really have a chart like that, but best of luck on your tuning!
Sometimes an index is so badly fragmented that the recommendation query assumes that it must not have one.
I would suggest working up a reproduction demo for that. If you can show that reliably, the community would totally love to see that!
Count Clipula
HAHAHA, I'm dying
Use floss or fishing line to remove the painting by running it behind it and using a sawing motion. I blow dryer or heat gun would also soften the adhesive.
Yeah, I was guessing the floss. I'm afraid a blow dryer or heat gun might damage the painting.
@@BrentOzarUnlimited I like that you pulled off the plausible reason to NOT remove the painting. Anthony Bourdain is a national treasure. Also, censorship of art is no bueno. I think Tony would appreciate that move.
@@BloggingThis hahaha, thanks. I really would have pulled it off at first, but then as I tugged at it, I thought, "This is Tony telling me to keep it up there..."
Hi there