Posts by Brent Ozar

Why I Mention My Sexuality and Gender

Why I Mention My Sexuality and Gender

Personal
97 Comments
I certainly don’t discuss it often, and it’s been a few years since I wrote about my pansexuality. I hope you’ll forgive me for talking a little about it today. I promise not to make it a habit. A friend of mine recently asked me privately, “Why would people ever talk about their sexuality publicly?…
Read More
Office Hours: Hawaiian Edition

[Video] Office Hours: Hawaiian Edition

Videos
0
I took your top-voted questions from https://pollgab.com/room/brento and answered ’em from my balcony at Disney’s Aulani Resort in Hawaii. I’m not really a Disney guy – we were there for a friend’s birthday celebration – but I tell ya what, that’s my new favorite resort in the world. The water park, food, beach, and nearby…
Read More
[Video] Office Hours and an AI-Generated Sweatshirt

[Video] Office Hours and an AI-Generated Sweatshirt

Videos
1 Comment
I originally took these questions from https://pollgab.com/room/brento poolside at the Trixie Motel (really), but I forgot to use the good microphone, so I re-recorded ’em from my home studio when I got back: Office Hours: Home Office EditionWatch this video on YouTube Here’s what we covered: 01:04 NeedMoney: What’s the fastest/easiest way to make money…
Read More
What If You Need to Index a Lot of Duplicate Data?

What If You Need to Index a Lot of Duplicate Data?

Indexing
18 Comments
Let’s get a little nerdy and look at database internals. Create two tables: one with a million unique values, and one with a million identical values: Transact-SQL DROP TABLE IF EXISTS dbo.AllTheSame; DROP TABLE IF EXISTS dbo.AllDifferent; CREATE TABLE dbo.AllTheSame (Id INT IDENTITY(1,1) PRIMARY KEY CLUSTERED, TimeItHappened DATETIME2 INDEX IX_TimeItHappened); CREATE TABLE dbo.AllDifferent (Id INT…
Read More
[Video] Office Hours in My Vegas Backyard

[Video] Office Hours in My Vegas Backyard

Videos
7 Comments
I took 5 of your top-voted questions from https://pollgab.com/room/brento while hanging out in the backyard on my second gin & tonic. I, uh, might have lost my temper on the last one. Office Hours in my Vegas BackyardWatch this video on YouTube Here’s what we covered: 00:00 Start 02:38 Frozt: are you familiar with SQL…
Read More

I’m Coming to Croatia!

Conferences and Classes
0
A few things lined up perfectly for a European trip this summer. I’m on a European cruise in early June, then Data Saturday Croatia on June 14, and then SQL Bits on June 21. For Croatia, I’m teaching a one-day preconference workshop: Faster, Cheaper Cloud Databases. You’re managing databases that live in AWS, Azure, and…
Read More

[Video] Office Hours: Long Answers Edition

Videos
1 Comment
Today’s questions from https://pollgab.com/room/brento require a little bit longer answers: Office Hours: Long Answers EditionWatch this video on YouTube Here’s what we covered: 00:00 Start 03:20 Josef: What is table partitioning, and can it improve performance? Does its effectiveness depend on the underlying storage? In what scenarios is it most useful? 05:10 DBAMatt: If there…
Read More

[Video] Office Hours in Tokyo, Japan

Videos
0
For the last Office Hours of the year, I’m coming to you from Tokyo, the last stop on my 3-week tour of China and Japan. This was a big Epic Life Quest task for me, for sure, something I’ve wanted to do for decades. Let’s bring you along and go through your top-voted questions from…
Read More

Your Favorite Blog Posts & Videos from 2024

Company News
1 Comment
The year is coming to a close, so it’s time to look back on your favorite stuff from this year. 2024 Blog Posts with the Most Comments What’s Your Biggest Database Regret? Query Exercise: Fix This Computed Column Query Exercise: Find the Best Time for Database Maintenance Query Exercise: Find Recent Superstars Query Exercise: Find…
Read More