Sign in

Brent Ozar

@brento.bsky.social
1.4K followers 61 following 1.9K posts

I make databases go faster. I love teaching, travel, laughing, and collecting vintage sports cars. Las Vegas. He/him, pan.

PostsRepliesMedia
Brent Ozar @brento.bsky.social · 3h
alright which one of you scheduled this meeting for 5pm today
120
Brent Ozar @brento.bsky.social · 16h
Classic post: how to take any SQL Server down in less than 100 characters of T-SQL: www.brentozar.com/go/boom SELECT*FROM GENERATE_SERIES(-9223372036854775807,9223372036854775808)ORDER BY 1DESC
brentozar.com
Query Exercise Answer: Generating Big TempDB Spills - Brent Ozar Unlimited®
In last week’s Query Exercise, I challenged you to play some code golf to generate big spills with tiny T-SQL. Today, I’m going to walk you through my thought process – the initial attempts I tried…
131
Brent Ozar @brento.bsky.social · 21h
Reading: why you shouldn't just store EVERYTHING in Postgres: www.red-gate.com/simple-talk/... For decades I've made the same argument with SQL Server, and I've used the licensing cost as reinforcement. That's harder with PG.
red-gate.com
Why PostgreSQL shouldn't be your app's answer to everything
A DBA explains why using PostgreSQL for queuing, caching, or document storage creates ownership gaps, security risks, and higher cloud costs.
120
Brent Ozar @brento.bsky.social · 01/10/2026
WOW. AWS Aurora Serverless Postgres can now add 16 cores within 1 second when workloads burst: aws.amazon.com/about-aws/wh... This platform is so bad ass. (And yes, SQL ConstantCare runs on it.)
aws.amazon.com
Amazon Aurora serverless now scales faster to support agentic AI and other bursty workloads - AWS
Discover more about what's new at AWS with Amazon Aurora serverless now scales faster to support agentic AI and other bursty workloads
130
Brent Ozar @brento.bsky.social · 01/10/2026
Registration Is Open Now! $995 for a 2027 Live Class Season Pass. I teach Microsoft SQL Server performance tuning in a 4-class rotation. The winter rotation is getting ready to start: Fundamentals Week - November 2-6 Mastering Index Tuning - November 30-Dec 4 Mastering Query Tuning - January…
brentozar.com
Registration Is Open Now! $995 for a 2027 Live Class Season Pass.
I teach Microsoft SQL Server performance tuning in a 4-class rotation. The winter rotation is getting ready to start: Fundamentals Week - November 2-6 Mastering Index Tuning - November 30-Dec 4 Mastering Query Tuning - January 11-15, 2027 Mastering Server Tuning - February 8-12, 2027 You have to take 'em in order, so I only open up registration as Fundamentals Week approaches - and that's now!
000
Brent Ozar @brento.bsky.social · 01/10/2026
I love it when ChatGPT matches my humor and mood.
110
Brent Ozar @brento.bsky.social · 30/09/2026
Aboard a cruise, families pranked their men by giving all the men the same shirt, and suggesting that they wear it on a particular night - with the guys not realizing lots of partners were controlling the whole thing: www.cruisehive.com/more-than-10... Adorable.
cruisehive.com
More Than 100 Men Unknowingly Wear Matching Shirts on Star of the Seas
More than 100 men got shirt pranked on a June 2026 sailing of Star of the Seas with photographic evidence to commemorate the event.
010
Brent Ozar @brento.bsky.social · 30/09/2026
Andy's post is about improving AI's writing, but it's good rules for our own writing too: am2.co/2026/09/clea... Not only is reading AI slop exhausting, but even *editing* it is exhausting, which is why I don't use it.
am2.co
Clear, Concise, Complete, and Correct: Avoiding AI Slop - Andy M Mallon - AM²
There’s a particular kind of writing that has become increasingly easy to produce: technically plausible, grammatically correct, reasonably well organized, and almost completely exhausting to read.…
030
Brent Ozar @brento.bsky.social · 30/09/2026
I’m Just Gonna Leave This Here Sometimes my value as a blogger is to make complex topics simple, or to deliver industry news to you, or to entertain you. Sometimes, it's just to keep you posted on things that are happening in the industry. So with that in mind, at Microsoft FabCon Barcelona this…
brentozar.com
I’m Just Gonna Leave This Here
Sometimes my value as a blogger is to make complex topics simple, or to deliver industry news to you, or to entertain you. Sometimes, it's just to keep you posted on things that are happening in the industry. So with that in mind, at Microsoft FabCon Barcelona this week, there was a partner day for Microsoft partners. From there, Eelco Drost (shout out to the smart & fun folks at…
240
Brent Ozar @brento.bsky.social · 30/09/2026
Classic post: "UPDATE, INSERT, and DELETE are not normally processed in parallel" www.brentozar.com/archive/2020...
brentozar.com
"UPDATE, INSERT, and DELETE are not normally processed in parallel" - Brent Ozar Unlimited®
Years ago, when troubleshooting performance, I stumbled across this Microsoft documentation on parallel query processing that says: Certain types of statements cannot be processed in parallel unless…
032
Brent Ozar @brento.bsky.social · 29/09/2026
Reading: A DBA's Take on Microsoft Entra ID: dbaunfiltered.com/2026/09/28/a...
dbaunfiltered.com
A DBA’s Take On Microsoft Entra ID And More
As a DBA with on-prem and cloud experience, I feel confident in saying that I’m fairly well versed on the “DBA Domain” part of the shared responsibility model. However, if we real…
060
Brent Ozar @brento.bsky.social · 29/09/2026
Adam Savage's advice to freelancers on what to do when customers get angry about paying you a lot of money just to "push a few buttons": www.youtube.com/watch?v=enVj... He comes at it from an angle I wasn't expecting.
youtube.com
Working With Clients With Bad Reputations
Has Adam ever taken a job with a poorly reviewed client who ended up being great? How does he deal with customers who don’t understand how hard -- and thus expensive -- fabrication can be? In this…
142
Brent Ozar @brento.bsky.social · 29/09/2026
when the vendor asks me about the size of our data
131
Brent Ozar @brento.bsky.social · 28/09/2026
Classic post: free video training on estimation & statistics in Dave Ballantyne's 2015 session at SQLBits, which is still relevant today: www.brentozar.com/archive/2024...
brentozar.com
Free Video Training: Estimation and Statistics by Dave Ballantyne - Brent Ozar Unlimited®
It’s hard to find good 400-500 level SQL Server training at any price, let alone free. Dave Ballantyne’s past sessions from SQLBits are great examples of those. Today, I’m going to review Dave’s most…
020
Brent Ozar @brento.bsky.social · 28/09/2026
After 17 years, Azure SQL DB announces its biggest feature yet: devblogs.microsoft.com/azure-sql/an... Okay, jokes aside, I'm glad they finally did this, because it's been a showstopper for folks.
devblogs.microsoft.com
Announcing the Public Preview of Local Time Zone Support in Azure SQL Database - Azure SQL Dev Corner
We are thrilled to announce the public preview of local time zone support in Azure SQL Database. Starting today, you can configure the time zone directly Public preview of local time zone support in…
010
Brent Ozar @brento.bsky.social · 28/09/2026
remember the commit notes allow images for a reason
052
Brent Ozar @brento.bsky.social · 28/09/2026
So, What’s New Lately in My SQL Server Training Classes? On Wednesday, registration opens for the next round of my live training classes, and you can get access to all my live classes & recordings for just $995. So, what's been changing with databases & classes lately? This year, I rebuilt the…
brentozar.com
So, What’s New Lately in My SQL Server Training Classes?
On Wednesday, registration opens for the next round of my live training classes, and you can get access to all my live classes & recordings for just $995. So, what's been changing with databases & classes lately? This year, I rebuilt the classes with a new focus: Fundamentals is about good defaults for new & growing databases Mastering is about handling edge cases in larger, more workload-intensive databases…
010
Brent Ozar @brento.bsky.social · 26/09/2026
yo maybe you wouldn’t hit so many edge case problems if you stopped playing mukbang with the SQL Server feature list every time a new version dropped
040
Brent Ozar @brento.bsky.social · 25/09/2026
this demands a congressional investigation
040
Brent Ozar @brento.bsky.social · 25/09/2026
I ... think this blog post is ... targeting people migrating from Postgres over to ... SQL Server? I'm so confused: devblogs.microsoft.com/azure-sql/pg... If so, uh, that's ... an interesting niche audience
devblogs.microsoft.com
PostgreSQL to SQL Field Notes: Date & Time - Azure SQL Dev Corner
Learn how PostgreSQL timestamp and timestamptz compare with SQL Server datetime2 and datetimeoffset, including precision, offsets, and storage.
120
Brent Ozar @brento.bsky.social · 25/09/2026
Interesting discussion on Reddit with a lot of anecdotal evidence. Is Power Bi even worth doing anymore? Previous organization kicked all BI jobs to make space for front end devs that does the same. www.reddit.com/r/PowerBI/co... Vibe coding really hitting the data market hard.
530
Brent Ozar @brento.bsky.social · 25/09/2026
Here are the questions that folks are getting wrong the most often on my "Well, Actually..." SQL Server swipe game: www.brentozar.com/actually/
030
Brent Ozar @brento.bsky.social · 24/09/2026
Reading and nodding along with most (but not all) of this: Thorsten Ball's What I believe about the future of software development thorstenball.com/blog/2026/09... I don't agree with the parts about unit testing and developer tooling, but it's close.
thorstenball.com
Thorsten Ball - What I believe about the future of software development
19 Sep 2026
071
Brent Ozar @brento.bsky.social · 24/09/2026
T-SQL authors: break time! Here's Erland Sommarskog's wish list of stuff he wants Microsoft to add. www.sommarskog.se/wishlist.html
010
Brent Ozar @brento.bsky.social · 24/09/2026
[Video] Office Hours Off the Coast of Long Beach A couple times a year, I go away for a week to think about what's working well, what I need to change, where our industry is going, and how I need to react. I usually do it on a cruise because the crappy internet makes it easier to disconnect and…
brentozar.com
[Video] Office Hours Off the Coast of Long Beach
A couple times a year, I go away for a week to think about what's working well, what I need to change, where our industry is going, and how I need to react. I usually do it on a cruise because the crappy internet makes it easier to disconnect and reflect, hahaha, and that's where you find me this week. As the cruise sails out of LA, let's go through your top-voted questions from…
010
Brent Ozar @brento.bsky.social · 24/09/2026
T-SQL authors: you may not read this right now, but you should bookmark it for later: Erland Sommarskog shows you how to find where a table is referenced: www.sommarskog.se/sqlutil/Sear...
031
Brent Ozar @brento.bsky.social · 23/09/2026
T-SQL authors: back to the educational grind. It's time to learn how to handle arrays and lists, including SQL Server 2025's new regex methods: www.sommarskog.se/arrays-in-sq... From Erland Sommarskog, of course.
011
Brent Ozar @brento.bsky.social · 23/09/2026
T-SQL authors: good news! No homework assignment here, just Erland Sommarskog's vacation pictures. www.sommarskog.se/my-pictures....
010
Brent Ozar @brento.bsky.social · 23/09/2026
Announcing a New Way to Reinforce Your Resume: My Alumni List. I hope you never have to look for another job. However, if you do, I wanna give you as much reinforcement as I can. If you're the kind of person who attends my live classes, pays attention, asks questions, and does the lab homework,…
brentozar.com
Announcing a New Way to Reinforce Your Resume: My Alumni List.
I hope you never have to look for another job. However, if you do, I wanna give you as much reinforcement as I can. If you're the kind of person who attends my live classes, pays attention, asks questions, and does the lab homework, you deserve to be able to brag about that. You deserve a public record of your work, something you can point to on my site that links directly to your LinkedIn, and a certificate you can put on your LinkedIn.
120
Brent Ozar @brento.bsky.social · 23/09/2026
T-SQL authors: you don't actually have to read this... UNLESS you have to change the collation on existing objects, and I hope you never do, but if you do, Erland Sommarskog has you covered: www.sommarskog.se/collation-ch...
071
Brent Ozar @brento.bsky.social · 22/09/2026
T-SQL authors: you know the drill. It's time to take a deep breath, brace yourself, and open Erland Sommarskog's compendium of All You Wanted to Know About Collations. www.sommarskog.se/collations.h... No, you're not allowed to joke about how you don't wanna know anything about it.
040
Brent Ozar @brento.bsky.social · 22/09/2026
T-SQL authors: quit complaining about the homework I'm giving you. This is for your own good. It's time you read Erland Sommarskog's post, How to Share Data between Stored Procedures: www.sommarskog.se/share_data.h...
020
Brent Ozar @brento.bsky.social · 22/09/2026
Database Animations: Stop Using Page Splits to Justify Lowering Fill Factor. You're looking at page split numbers in a monitoring tool or Perfmon, and you've heard that page splits are bad, so you're lowering fill factor, expecting your page splits to go down. You're monitoring the wrong number.…
brentozar.com
Database Animations: Stop Using Page Splits to Justify Lowering Fill Factor.
You're looking at page split numbers in a monitoring tool or Perfmon, and you've heard that page splits are bad, so you're lowering fill factor, expecting your page splits to go down. You're monitoring the wrong number. To prove it, let's check the page splits counter, add 10,000 pages to a table, and then check it again: DECLARE @StartingPageSplits BIGINT = (SELECT cntr_value FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Page Splits/sec%'); DROP TABLE IF EXISTS dbo.PageSplitTest; CREATE TABLE dbo.PageSplitTest (Id INT IDENTITY(1,1) PRIMARY KEY CLUSTERED, BigData CHAR(8000)); INSERT INTO dbo.PageSplitTest(BigData) SELECT 'BigData' FROM generate_series(1, 10000); SELECT cntr_value - @StartingPageSplits AS PageSplits FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Page Splits/sec%';
010
Brent Ozar @brento.bsky.social · 22/09/2026
T-SQL authors: it's time to ... look, I know, you haven't finished the last two homework assignments I gave you, but you have more work to do! Next up: Erland Sommarskog's Error and Transaction Handling in SQL Server: www.sommarskog.se/error_handli...
051
Brent Ozar @brento.bsky.social · 21/09/2026
T-SQL authors: it's time to gird your loins and make it all the way through Erland Sommarskog's magnificent article, Dynamic Search Conditions in T-SQL: www.sommarskog.se/dyn-search.h...
071
Brent Ozar @brento.bsky.social · 21/09/2026
T-SQL authors: it's time to roll up your sleeves and make it all the way through Erland Sommarskog's epic timeless post, The Curse and Blessings of Dynamic SQL: www.sommarskog.se/dynamic_sql....
471
Brent Ozar @brento.bsky.social · 19/09/2026
Sold the Porsches, Got a Maybach. I always thought I was a sports car guy. Dad managed Goodyear dealers while I was growing up, so I was always around cars and IndyCar racing. I loved the beauty, noise, and power of sports cars. As an adult, I just kinda assumed that was always what I was into -…
ozar.me
Sold the Porsches, Got a Maybach.
I always thought I was a sports car guy. Dad managed Goodyear dealers while I was growing up, so I was always around cars and IndyCar racing. I loved the beauty, noise, and power of sports cars. As an adult, I just kinda assumed that was always what I was into - and who knows, maybe it always was, but I changed over time.
370
Brent Ozar @brento.bsky.social · 18/09/2026
look I had to show it to someone and you were right there so …
010
Brent Ozar @brento.bsky.social · 18/09/2026
This career advice from Buck Woody is especially relevant today with our fast-changing technologies and tools: ozar.me/2016/04/shou... In a mature market, be a specialist. In an immature market, be a generalist.
ozar.me
Should You Be a Generalist or a Specialist?
At SQLSaturday Vienna last month, James Rowland-Jones (SQLbits organizer, former MVP, consulting company founder, and now Microsoft principal program manager, which is a pretty big deal) said in hi…
131
Brent Ozar @brento.bsky.social · 17/09/2026
[Video] Office Hours: Open Q&A for Microsoft Databases Today I'm back in the home office, finishing up teaching Mastering Index Tuning and getting ready to head out on a Mexico cruise. Let's go through your top-voted questions from Here's what we covered: 00:00 Start 00:30 Need For Speed Round:…
brentozar.com
[Video] Office Hours: Open Q&A for Microsoft Databases
Today I'm back in the home office, finishing up teaching Mastering Index Tuning and getting ready to head out on a Mexico cruise. Let's go through your top-voted questions from Here's what we covered: 00:00 Start 00:30 Need For Speed Round: What do you recommend for statistics maintenance on TB-scale tables with billions of rows? We've gone 5 years with neither scheduled nor automatic statistics updates and it hurts.
020
Brent Ozar @brento.bsky.social · 16/09/2026
Classic Post: Designing a Data Model for Gender and Sexuality (Oh And Also, I’m Pansexual) www.brentozar.com/archive/2022...
brentozar.com
Designing a Data Model for Gender and Sexuality (Oh And Also, I'm Pansexual) - Brent Ozar Unlimited®
These days, BrentOzar.com mostly focuses on the Microsoft data platform. However, you and I have a relationship, dear reader, so I just need to talk about some personal stuff today. Lemme get two…
151
Brent Ozar @brento.bsky.social · 16/09/2026
Classic Post: Write a Note and Shoot Yourself Today www.brentozar.com/archive/2013...
brentozar.com
Write a Note and Shoot Yourself Today - Brent Ozar Unlimited®
When I’m writing a presentation or blog post, I often start here: It’s a photo of me in my office in Dallas, Texas in 2004. When I look at that picture, I remember everything like it was yesterday. I…
020
Brent Ozar @brento.bsky.social · 16/09/2026
Live Class Enrollment Opens Soon – For Just $995! I teach Microsoft SQL Server performance tuning in a 4-class rotation. The winter rotation is getting ready to start: Fundamentals Week - November 2-6 Mastering Index Tuning - November 30-Dec 4 Mastering Query Tuning - January 11-15, 2027 Mastering…
brentozar.com
Live Class Enrollment Opens Soon – For Just $995!
I teach Microsoft SQL Server performance tuning in a 4-class rotation. The winter rotation is getting ready to start: Fundamentals Week - November 2-6 Mastering Index Tuning - November 30-Dec 4 Mastering Query Tuning - January 11-15, 2027 Mastering Server Tuning - February 8-12, 2027 You have to take 'em in order, so I only open up registration as Fundamentals Week approaches, but ...
000
Brent Ozar @brento.bsky.social · 16/09/2026
Think you know a lot about Microsoft SQL Server? Well, actually... www.brentozar.com/actually/ A swipe game to test your skills.
brentozar.com
Well, Actually... — Brent Ozar Unlimited®
How well do you know SQL Server? Swipe right for true, left for false, and find out.
121
Brent Ozar @brento.bsky.social · 15/09/2026
some things never change www.brentozar.com/archive/2026...
080
Brent Ozar @brento.bsky.social · 15/09/2026
I haven’t worked there or had an account there in over a decade. Cmon, Microsoft, clean up your data.
010
Brent Ozar @brento.bsky.social · 15/09/2026
“But NOLOCK won’t hurt me if I’m using an index!” NOLOCK is bad and you probably shouldn't use it, but every time I mention that publicly, the pushback just keeps coming. I don't know why people so firmly believe that their situation couldn't possibly be affected by bad/random data from NOLOCK.…
brentozar.com
“But NOLOCK won’t hurt me if I’m using an index!”
NOLOCK is bad and you probably shouldn't use it, but every time I mention that publicly, the pushback just keeps coming. I don't know why people so firmly believe that their situation couldn't possibly be affected by bad/random data from NOLOCK. Today's misconception comes from a LinkedIn commenter telling me it's safe to use if you're doing index seeks. Hoo boy.
270
Brent Ozar @brento.bsky.social · 15/09/2026
Reading: Revolut confirms customer data breach through fake government requests techcrunch.com/2026/09/12/r... The bad guys are so damn creative.
techcrunch.com
Revolut confirms customer data breach through fake government requests | TechCrunch
Revolut said it notified affected customers and alerted the relevant government agency, law enforcement, and financial regulators.
000
Brent Ozar @brento.bsky.social · 14/09/2026
A tour of the internals of the IBM Selectric typewriter: youtu.be/BJITkKaO0qA?... I grew up around these, and that noise brings back so many fond memories of Grandma writing her novels, smoking cigarettes. (Her, not me.)
youtu.be
IBM Selectric typewriter review - and how it works!
Skip to 15:57 for a typing demonstration. Follow me on Twitter for updates on my keyboard videos! https://twitter.com/chyrosran22 My other keyboard reviews:…
020
Brent Ozar @brento.bsky.social · 14/09/2026
when the devs tell me they're going to vibe code their own database
050