Quantcast
Channel: Brent Ozar Unlimited®
Browsing all 3153 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/12/6 (With Transcriptions)

This week Brent, Erik, and Richie discuss filestream waits, what to use instead of filestream, Availability Groups & clusters, implicit data conversion, using snapshot backups, MERGE statement...

View Article


Image may be NSFW.
Clik here to view.

Tell Us What You Make: The 2018 Data Professional Salary Survey

Not what you’re worth, dear reader: we know your worth cannot possibly be calculated in base-10 numbering systems because you’re just so awesome, but what you make. How many stacks of Paul Whites are...

View Article


Image may be NSFW.
Clik here to view.

What Your SQL Server Is Really Waiting On: YOU

Land of Confusion Most SQL Servers out there have never had anyone do a thorough, targeted assessment on them, the way we do our Critical Cares. This leads to a lot of astray troubleshooting, which may...

View Article

Image may be NSFW.
Clik here to view.

Query Plan Oddities: Two Identical Missing Indexes

As I’ve been building labs for my Mastering Query Tuning class, I’ve been spelunking through data.stackexchange.com. It’s where anybody can write queries against the Stack Overflow databases, and share...

View Article

Image may be NSFW.
Clik here to view.

Can you prevent deletes and inserts without a WHERE clause from running?

File this under bad idea thong In the tradition of Klaus Aschenbrenner wanting to prevent people from writing SELECT * queries, I thought it might be nice to prevent people from running deletes or...

View Article


Image may be NSFW.
Clik here to view.

Database History: The Inventor of the Data Page

Do you ever wonder about the history of the systems you rely on every day? They didn’t teach us database history in school. Instead, we got calculus and art and interpretive dance. Fat lot of good that...

View Article

Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/12/13 (With Transcriptions)

This week Tara, Erik, and Richie discuss virtualization, replication & mirroring, switching SQL service logins to an AD account, temporal tables, tempdb issues, migrating from SQL 2015, and...

View Article

Image may be NSFW.
Clik here to view.

GDPR: Why We Stopped Selling Stuff to Europe

The EU’s new General Data Protection Regulation (GDPR) is a set of rules that give consumers rights about how their data is stored, used, and deleted. This step-by-step GDPR guide for managers is a...

View Article


Image may be NSFW.
Clik here to view.

Rebuilding Indexes Can Slow Queries Down

Today, Jonathan Kehayias wrote about how fragmentation impacts execution plans. I’m really into performance tuning, so I read the post carefully, really interested to see how it impacted query runtime....

View Article


Image may be NSFW.
Clik here to view.

Introducing sp_BlitzLock: For Troubleshooting SQL Server Deadlocks

Deadlocks are hard Especially when there are a lot of them. When there are dozens or more, looking at each graph is a pain. I had a script written that parsed out the XML, but really, having a folder...

View Article

Image may be NSFW.
Clik here to view.

Maintenance Plans Enable Your Disabled Indexes

One of Brent’s students in the Performance Tuning class, Jason M., told Brent that maintenance plans enable your disabled indexes. What the what? Steps to reproduce: Disable an index Setup a...

View Article

Image may be NSFW.
Clik here to view.

Do Disabled Indexes Affect Missing Index Recommendations?

I’m so glad you asked! Let’s take a look. Open up the Stack Overflow database, turn on actual execution plans, and run a query that will cause SQL Server to beg and plead for an index:SELECT * FROM...

View Article

Image may be NSFW.
Clik here to view.

Sizing A New Server? Start With Maintenance.

Clientele Most of out customers are on slightly (ahem) older (AHEM) hardware, and they have big questions: How do we know what kind of hardware we need? How do we load test it? How do we know what to...

View Article


Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/12/20 (With Transcriptions)

This week Brent, Erik, and Richie discuss truncating & repopulating, failed logins, their choice for high availability, PowerBI, read committed isolation, parameter sniffing, database mirroring,...

View Article

Image may be NSFW.
Clik here to view.

Female DBAs Make Less Money. Why?

The 2018 Data Professional Salary Survey is open now, and you can look at the live responses as they come in. (To get that in Excel, click File, Download.) As of this writing (Dec 23), there’s already...

View Article


Image may be NSFW.
Clik here to view.

Our 25 Most-Read and Most-Commented Blog Posts of 2017

We published a whopping 312 blog posts in 2017! Looking back, wow, there was a lot of fun stuff in here.   First, here’s the ones you read the most: 25. Max Worker Threads – Don’t Touch That 24....

View Article

Image may be NSFW.
Clik here to view.

How Personally Identifiable Information Gets Around

Let’s say someone – not you, dear reader, because you would surely never be this sloppy – is building a personal web site or a diary or a company or whatever:CREATE TABLE dbo.People (LastName...

View Article


Image may be NSFW.
Clik here to view.

What’s So Bad About Shrinking Databases with DBCC SHRINKDATABASE?

You read a lot of advice that says you shouldn’t shrink databases, but…why? To demonstrate, I’m going to: Create a database Create a ~1GB table with 5M rows in it Put a clustered index on it, and check...

View Article

Image may be NSFW.
Clik here to view.

Heaps, Deletes, and Optimistic Isolation Levels

The Humble Heap If you don’t know this by now, I’m going to shovel it at you: If you have a table with no clustered index (a Heap), and you delete rows from it, the resulting empty pages may not be...

View Article

Image may be NSFW.
Clik here to view.

Network Issue or THREADPOOL waits?

I’ve had a handful of clients that were experiencing significant THREADPOOL waits. This isn’t a wait type that I had any knowledge of prior to joining Brent Ozar Unlimited. Looking back, I am pretty...

View Article
Browsing all 3153 articles
Browse latest View live