Posts by Brent Ozar

[Video] Office Hours in Bulgaria

Videos
0
I went through your top-voted questions from https://pollgab.com/room/brento while in front of the National Gallery for Foreign Art in Sofia.   Here’s what we covered: 00:00 Start 03:12 MyTeaGotCold: If all of my columns are nvarchar, is there a performance benefit to always wrapping strings in N”? My tests have been inconclusive. 03:50 SadButTrue: Hey…
Read More

Use “We” Not “You”. #tsql2sday

Consulting Lines
26 Comments
For T-SQL Tuesday this month, Louis Davidson suggested we give our past self some advice. I’d tell myself, “Use ‘we’, not ‘you’.” For years, when I gave advice, I’d say things like: “You’re doing A, when you should really be doing B instead.” “Your code has a problem right here.” “Your network settings are wrong,…
Read More

[Video] Office Hours in Sofia, Bulgaria

Videos
0
I was honored to speak at the Present to Succeed conference in Sofia, Bulgaria, run by a former SQL Server MCM. Sofia is a beautiful city, and the gorgeous Patriarchal Cathedral of St. Alexander Nevsky (Wikipedia) was close to my hotel, so I dragged my tripod over there for an Office Hours session.   Here’s…
Read More

Save $350 on the PASS Summit if You Register Now.

#SQLPass
0
Next Tuesday, pricing on the 3-day tickets for the PASS Data Community Summit goes up to $2,095. But if you register right now, plus use coupon code BRENTO24, it’s just $1,745. It’s one in-person conference that covers Microsoft SQL Server, Azure, PostgreSQL, Snowflake, Oracle, and more. So many of us (me included!) are working with…
Read More

Does Bit Column Order Matter in Tables?

Development
3 Comments
At the PGConf.dev, where Postgres developers get together and strategize the work they wanna do for the next version, I attended a session where Matthias van de Meent talked about changing the way Postgres stores columns. As of right now (Postgres 17), columns are aligned in 8-bit intervals, so if you create a table with…
Read More

[Video] Office Hours: I Don’t Have All the Answers

Videos
0
When I went through the top-voted questions at https://pollgab.com/room/brento, I didn’t have all the answers today: Here’s what we covered: 00:00 Start 00:48 MyTeaGotCold: I increased my RAM from 16 GB to 32 GB and my buffer pool has grown, but my PAGEIOLATCH_SH waits went up by two percentage points. What might that indicate? 01:46…
Read More

The SQL Language is Just a Hurdle You Gotta Overcome.

T-SQL
33 Comments
I’m not talking just about Microsoft SQL Server specifically here, nor T-SQL. Let’s zoom out a little and think bigger picture for a second: is the SQL language itself a problem? Sometimes when I talk to client developers, they gripe about the antiquated language. The order of a SELECT statement doesn’t make any sense. You…
Read More

Join Me in San Diego for SQL Saturday!

I’m coming to San Diego on Sept 13-14 for SQL Saturday San Diego! I’m teaching a one-day pre-conference workshop on Friday, September 13th. Tuning Databases In One Day – You’ve got production databases in SQL Server or Azure SQL DB, and you want to make ’em faster. You need to identify the database’s bottleneck, prove…
Read More

[Video] Creepy Office Hours in Vancouver

Videos
4 Comments
While in a hotel room in Vancouver for PGconf.dev, I strapped on my Apple Vision Pro headset to take your top-voted questions from https://pollgab.com/room/brento. Somehow, the latest Vision OS update gave me a 1980s 3rd Bass haircut. Here’s what we covered: 00:00 Start 01:03 MyTeaGotCold: Have you ever seen SSISDB migrated on to a new…
Read More

[Video] Office Hours in a Hotel Room

Videos
1 Comment
While in Nashville for a creators conference, I went through your top-voted questions from https://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…
Read More
Ola Hallengren job configuration with @NumberOfFiles = 4 parameter

Two Tweaks for Faster Backups with Ola Hallengren’s Scripts

Ola Hallengren’s free maintenance solution is widely used as a replacement for SQL Server maintenance plans. It’s a more powerful, flexible tool for backups, corruption checking, and index & statistics updates. If you’re using it for backups, there are two quick, easy changes that can dramatically reduce your nightly job runtimes. First, set @NumberOfFiles =…
Read More