Brent Ozar Unlimited
Brent Ozar Unlimited
  • 576
  • 3 285 945
Office Hours: Database Answers in Nashville
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 slow.
01:06 MyTeaGotCold: I've only ever heard bad things said of MySQL, but it's often above SQL Server in surveys. What am I missing?
02:27 FIN7: What are the top gotcha's you have run into when migrating SQL onprem to Azure SQL Managed instance?
03:39 Unspoiled: is there any database level statistic you would recommend to monitor to know the impact or pressure a single database is generating. the goal being to understand how much pressure a single database is generating with multiple on a the server.
04:59 Poul J: Hi Brent. I was wondering if you are using a dedicated tools for investigating complex query plans?
05:08 SteveE: Hi Brent,
I'm looking at your SQL ConstantCare® Population Report: Spring 2024 and can see a spike for Azure SQL DB in 2022 Q3 which then drops back to approximately the prior level in the next quarter. Are you able to offer an insight as to why this is please?
05:41 Kansas4444: Do you often see CLR function / procedure used and what impact it has on performances ?
06:08 Mattia Nocerino: Hi Brent! I've inherited a 3 node cluster (2 nodes FCI + 1 node AG) but it keeps going down for all the wrong reasons. I've never built nor managed a similar infrastracture. Could you point to some resources to get me started figuring out what's going on! Hope you're doing good!
07:50 BackupsAreImportant: What's the drawback to implementing a backup strategy that only used the read-only node of an AG? You can take COPY_ONLY backups and log backups from there. I know the COPY_ONLY won't affect the log chain but you can still do restores and apply logs. Seems wrong but why?
09:02 ThatSteveCena: With file system advancements on Windows, should we consider formatting MDF/LDF drives using ReFS or stick with NTFS?
09:56 Peter: Hi Brent, some devs have started slapping OPTION (NO_PERFORMANCE_SPOOL) on their queries. This is not something you covered in your courses. Is it a real solution to a genuine problem or a workaround to a problem they could or should be fixing a better way.
11:23 DATA cow: ALTER DATABASE DBname SET MEMORY_OPTIMIZED = ON;
Version : 2019 what benefit we get by enabling ?I understand frequent data will loaded to memory. is that mean are we end up with run out of memory or memory or server pressure ?
Переглядів: 1 103

Відео

Office Hours: 5-Minute Speed Round
Переглядів 1,3 тис.День тому
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,8 тис.14 днів тому
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
Переглядів 2,2 тис.21 день тому
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,2 тис.28 днів тому
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,4 тис.Місяць тому
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
Переглядів 3,9 тис.Місяць тому
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 тис.Місяць тому
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 місяці тому
Sometimes y'all post questions at pollgab.com/room/brento that require extended answers, like these: 00:00 Start 00:44 MyTeaGotCold: If storage is no issue, do I need to worry about the size of Query Store? It's going to hit 10% of the size of my largest database. I have no interest in changing QUERY_CAPTURE_MODE away from ALL or my retention period. 04:12 DB-Ay?: For a high activity table, is ...
Office Hours: 25 Answers in 10 Minutes
Переглядів 2,9 тис.2 місяці тому
I did a speed round through your top-voted questions from pollgab.com/room/brento. Here's what we covered: 00:00 Start 00:17 SteveTV: Hi Brent! Are there solutions for managing SQL Agent jobs that obviate the need for manual updates and write access to Job definitions in SSMS? We need to remove write access to agent jobs, and create a deployment strategy that includes approval, change history a...
Office Hours: The Long One
Переглядів 3,7 тис.2 місяці тому
Office Hours: The Long One
Office Hours from the Apple Vision Pro
Переглядів 3,1 тис.3 місяці тому
Office Hours from the Apple Vision Pro
Office Hours Speed Round
Переглядів 2,4 тис.3 місяці тому
Office Hours Speed Round
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: Hot Tub Edition
Переглядів 2,6 тис.3 місяці тому
Office Hours: Hot Tub Edition
Office Hours: Ask Me Anything About Microsoft Databases
Переглядів 3,6 тис.3 місяці тому
Office Hours: Ask Me Anything About Microsoft Databases
Office Hours: Lumberjack Edition
Переглядів 3,3 тис.3 місяці тому
Office Hours: Lumberjack Edition
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 тис.4 місяці тому
Office Hours: Holiday Speed Round Edition
Working on First Responder Kit Pull Requests, Part 2
Переглядів 1,7 тис.4 місяці тому
Working on First Responder Kit Pull Requests, Part 2
Working on First Responder Kit Pull Requests, Part 1
Переглядів 2,6 тис.4 місяці тому
Working on First Responder Kit Pull Requests, Part 1
Office Hours: Ask Me Anything About SQL Server
Переглядів 2,9 тис.4 місяці тому
Office Hours: Ask Me Anything About SQL Server
Office Hours: After the Nap Edition
Переглядів 2,3 тис.5 місяців тому
Office Hours: After the Nap Edition
Office Hours: Sunshine Edition
Переглядів 3,3 тис.5 місяців тому
Office Hours: Sunshine Edition
Office Hours: Live on Black Friday
Переглядів 3,4 тис.5 місяців тому
Office Hours: Live on Black Friday

КОМЕНТАРІ

  • @Norman_Fleming
    @Norman_Fleming 2 дні тому

    "Why are you carrying a ham" thud

  • @leppyr64
    @leppyr64 2 дні тому

    While that Map reference was terrifying, it was surprisingly effective. 😎

  • @qqq2001pk
    @qqq2001pk 3 дні тому

    Cloud changes every day

  • @jamiestrick
    @jamiestrick 8 днів тому

    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 ?

  • @Tony-dp1rl
    @Tony-dp1rl 10 днів тому

    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.

  • @toyboatt
    @toyboatt 10 днів тому

    That buzzer is way louder than your vocal audio and I never want to hear it again.

  • @leppyr64
    @leppyr64 10 днів тому

    Unfortunately the Shao Kahn / NoobSaibot joke went unnoticed. Guess Brent isn't a Mortal Kombat fan. 😀

    • @BrentOzarUnlimited
      @BrentOzarUnlimited 10 днів тому

      Definitely not.

    • @SQLDevDBA
      @SQLDevDBA 10 днів тому

      Tobías Boon would be proud. My favorite is @BringThePain

    • @matthewr3986
      @matthewr3986 8 днів тому

      It's a particularly sore subject given the ex employees that Brent used to employ.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited 8 днів тому

      @@matthewr3986 uh oh - what does that mean?

    • @matthewr3986
      @matthewr3986 8 днів тому

      ​@@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. 😊

  • @koalalucci8795
    @koalalucci8795 10 днів тому

    my ears...

  • @elvishfiend
    @elvishfiend 12 днів тому

    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

  • @YvdB
    @YvdB 12 днів тому

    have you tried goat simulator?

  • @pabeader1941
    @pabeader1941 16 днів тому

    Fallout? Really??? I thought you were kidding. Couldn't get past the first 30 minutes of that total piece of dog dung.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited 16 днів тому

      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? ;-)

  • @allenshepard7992
    @allenshepard7992 16 днів тому

    A.I. - more interesting answer than "our future brains" who will tell us what to do and when.

  • @Chompingbits
    @Chompingbits 16 днів тому

    The old interplay PC Fallout games from the 90s are amazing CRPGs and all turned based. Might be more your speed.

  • @kebekoi11
    @kebekoi11 16 днів тому

    When you gonna get rid of the granny lights, BrentO?

  • @lenbinary
    @lenbinary 16 днів тому

    Great episode Brent. By the way - what are you thoughts on dBase? 😅

  • @BillyLambert-vz4gq
    @BillyLambert-vz4gq 17 днів тому

    Visual Fox Pro ... bruhhh

  • @lucasshipsides1510
    @lucasshipsides1510 21 день тому

    super appreciative for you and all of the content you produce. many thanks Brent!

  • @qqq2001pk
    @qqq2001pk 23 дні тому

    There is not enough blogs on Postgress and material

  • @leppyr64
    @leppyr64 23 дні тому

    "Watch Brent Tune Camera Settings"... jokes aside, keep up the fantastic work.

  • @Chompingbits
    @Chompingbits 23 дні тому

    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.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited 18 днів тому

      Yeah, translations will probably get a lot of interest, even though it could be done just as effectively on app servers.

  • @gowthamfalcon
    @gowthamfalcon 24 дні тому

    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?

    • @James-gu7di
      @James-gu7di 24 дні тому

      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.

    • @gowthamfalcon
      @gowthamfalcon 24 дні тому

      @@James-gu7di thank you for your reply buddy, i am clear

    • @BrentOzarUnlimited
      @BrentOzarUnlimited 18 днів тому

      Deadlocks fix themselves automatically within 5 seconds. They were probably thinking blocking.

    • @gowthamfalcon
      @gowthamfalcon 17 днів тому

      @@BrentOzarUnlimited yeah thought the same , thank you brent

  • @euromicelli5970
    @euromicelli5970 24 дні тому

    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)

  • @leppyr64
    @leppyr64 25 днів тому

    Answer to question #1: Pants. The first thing I reach for is pants.

  • @TheRealSmendle
    @TheRealSmendle 28 днів тому

    for the DB and AG question @4:04...I would have just said, use an AG listener and point to that DNS entry.

  • @allenshepard7992
    @allenshepard7992 29 днів тому

    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.

  • @euromicelli5970
    @euromicelli5970 29 днів тому

    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.

    • @JeffersonMartinSynfluent
      @JeffersonMartinSynfluent 28 днів тому

      Ashton-Tate; hadn't thought of them in years... no, decades.

    • @kennethrow
      @kennethrow День тому

      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"

  • @AndrewSchickedanz
    @AndrewSchickedanz Місяць тому

    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.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      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.

  • @7ofdaysProductions
    @7ofdaysProductions Місяць тому

    very hairy chest there Brent!

  • @sirajudeenmuhammedibrahim6799
    @sirajudeenmuhammedibrahim6799 Місяць тому

    Anonymous Indians😢 (AI)

  • @ntobergta
    @ntobergta Місяць тому

    Guitar string for the painting

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      Oh that's a great idea! That's the best one I've heard yet. Thanks, that's what I'll try!

  • @GeraldOSullivan
    @GeraldOSullivan Місяць тому

    Excellent. Nice combination of good advice and practicality. Good work!

  • @gauravtiwari6392
    @gauravtiwari6392 Місяць тому

    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. :)

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      Howdy! thanks, glad you like my work. I don't really have a chart like that, but best of luck on your tuning!

  • @jwfcp
    @jwfcp Місяць тому

    Sometimes an index is so badly fragmented that the recommendation query assumes that it must not have one.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      I would suggest working up a reproduction demo for that. If you can show that reliably, the community would totally love to see that!

  • @christopherblack1661
    @christopherblack1661 Місяць тому

    Count Clipula

  • @AaronBuma
    @AaronBuma Місяць тому

    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.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      Yeah, I was guessing the floss. I'm afraid a blow dryer or heat gun might damage the painting.

    • @BloggingThis
      @BloggingThis Місяць тому

      @@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.

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      @@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..."

  • @Jonas_Willems
    @Jonas_Willems Місяць тому

    Hi there

  • @minhhtrann._
    @minhhtrann._ Місяць тому

    Really appreciate these free sessions, they helped me so much in my optimization task as a junior backend dev with terrible knowledge of SQL Server.

  • @romanzaytsev5527
    @romanzaytsev5527 Місяць тому

    Hi Brent, it looks that you are not famous enough yet for Google Gemini to know what you think about it. But keep on good work ! And thanks for the informative and entertaining videos.

  • @JacobHorwath
    @JacobHorwath Місяць тому

    It was two minutes, five minutes ago!

  • @ManishKaushik-be5mu
    @ManishKaushik-be5mu Місяць тому

    The joke about the temp = Public toilet, oh my God :)

  • @yozmosis
    @yozmosis Місяць тому

    Camera model and lens pleasee

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      These days, I use Sony ZV-E1s with Sigma low-F lenses, like F1.6.

  • @yusuftahacicek2036
    @yusuftahacicek2036 Місяць тому

    Hi brent I want to ask somethin’ about using MacBook the person who fond of SQL Server and DBA is it a good or bad thing for daily usage in comparison to windows?

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      That's beyond the scope of what I can cover here in a quick comment.

  • @rebeccalewis6205
    @rebeccalewis6205 Місяць тому

    Yes! The error message, please!! I can't count how many times I am asking that question! The little things...

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      Unbelievable how often people just say "there was an error" - and then when you finally get the error message, it's like "VPN Disconnected"

  • @arkayerdota2462
    @arkayerdota2462 Місяць тому

    Sir, i would like to know if you have an idea on how to monitor the 25 servers that are already merged/replicated? What I'm only using is the Replication Monitor. SQL Server 2019

  • @shubhamshah349
    @shubhamshah349 Місяць тому

    Can we have a video explaining SQL server pricing and differences/use-cases of different editions?

    • @BrentOzarUnlimited
      @BrentOzarUnlimited Місяць тому

      For unrelated questions, check out: pollgab.com/room/brento/

  • @tetsballer1835
    @tetsballer1835 Місяць тому

    I have 8 10GB temp dbs :)

  • @tetsballer1835
    @tetsballer1835 Місяць тому

    We store pdfs and excel files in our SQL tables at work, growing about 70GB per year. Good to know 2TB is still considered small-ish.

  • @ahappierworld8819
    @ahappierworld8819 Місяць тому

    Great topic! I also like the analogies used in making things easier to understand 😅

  • @ManchiMata2022
    @ManchiMata2022 Місяць тому

    www.youtube.com/@ITJOBsSmartNetwork?sub_confirmation=1

  • @kahuna3901
    @kahuna3901 Місяць тому

    Shoutout to SSMS for Microsoft SQL! Recently had to switch to AWS through dataspell. Miss ssms so much!