Posts by Brent Ozar

Save $150 on the Summit with Discount Code BRENT25

#SQLPass
2 Comments
The PASS Data Community Summit is the biggest conference in the Microsoft database industry, and over the last few years, they’ve expanded to cover other databases as well. It’s in Seattle on November 17-21 this year. It costs $2195 for the Weds-Fri general sessions, plus $595 for each pre-conference session on Monday or Tuesday. Register…
Read More

[Video] Office Hours: Docked in Miami Beach

Videos
0
On the last day of my Caribbean cruise, as we pull into port in Miami, let’s go through your top-voted questions from https://pollgab.com/room/brento. Here’s what we covered: 00:00 Start 01:45 Sean: How would you approach a task to remove 90% of the data to support lightweight test db servers. I’m thinking of a script with…
Read More

AI is Like Outsourcing. #TSQL2sday

AI
12 Comments
When you ask data people how they feel about AI, you get pretty rabid, extreme reactions. People either love it or hate it. Set that aside for a second, and let’s zoom out and think about a bigger picture question. What’s it like to work with someone you know, versus a stranger? Known Person Unknown…
Read More

[Video] Office Hours: 15 Answers in 30 Minutes

Videos
2 Comments
The first few questions from this week’s crop at https://pollgab.com/room/brento are very much about what-problem-are-you-trying-to-solve, but they get more complex from there. Here’s what we covered: 00:00 Start 02:49 My Erik is Strong: Do you suggest any steps after an upgrade to SQL Server 2022 in particular? I mean 2022 features to try, enjoy, or…
Read More
Indexed view execution plan

How to Make Leading Wildcard Searches Fast

Computed columns
11 Comments
99.9% of you are never gonna need this. But let’s say you need to run queries with leading (not trailing) wildcards, like this search for all the different national versions of the Encabulator, each of which has different prefixes depending on which government it’s being sold to: Transact-SQL SELECT * FROM dbo.Parts WHERE PartNumber LIKE…
Read More

[Video] Office Hours: Interview Horror Stories Edition

Videos
3 Comments
Wanna hear about my worst job interviews? I drove up to 8,000 feet where it’s 30 degrees colder than Las Vegas to bring you these answers to your top-voted questions from https://pollgab.com/room/brento. The audio’s a little odd on here because it was really windy, and I had to use noise reduction in post-production. Here’s what…
Read More
it hurts so good, I don't understand

The Query Tuning Trick You Should Use More: Pagination

T-SQL
6 Comments
When I’m tuning queries, the normal answer is to make the query perform better – either via changing the T-SQL, adding hints, or adding indexes so that the data’s better prepared for the query. However, sometimes when I’m looking at the output of sp_BlitzCache, I scroll across to the Average Rows column and double-check that…
Read More
Fabric status page

Microsoft Fabric Has a New Service Status Page.

Microsoft Azure
2 Comments
I’ve been pretty vocal here on the blog and on social media about the reliability problems with Microsoft Fabric. Today, I’ve got good news: Microsoft released a new Fabric status page and a known issues page, something that really does take guts given the current reliability situation. The status page still appears to be manually…
Read More
[Video] Office Hours in My Backyard

[Video] Office Hours in My Backyard

Videos
3 Comments
Let’s hang out, listen to the peaceful waterfall, and go through your top-voted questions from https://pollgab.com/room/brento. This is kinda the calm before the storm: in another week, I’ll be on the road again for a while, hopefully bringing you some fresh Office Hours locations from the Caribbean and Alaska! Here’s what we covered: 00:00 Start…
Read More
[Video] Office Hours: Finally Back in the Home Office

[Video] Office Hours: Finally Back in the Home Office

Videos
0
I’m finally back in the home office after running around Europe for a month. Let’s talk through your top-voted questions from https://pollgab.com/room/brento. Here’s what we covered: 00:00 Start 01:52 World Peace: Hey Brent, I am working in AZURE currently and the AZURE architect is placing all the mdf and ldf files on one drive and…
Read More