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

Image may be NSFW.
Clik here to view.

“UPDATE, INSERT, and DELETE are not normally processed in parallel”

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...

View Article


Image may be NSFW.
Clik here to view.

Upcoming Free Webcast: 500-Level Career Guide: Building Your Brand

At SQLBits 2020 on Saturday, October 3 at 11:10AM Eastern, 8:10AM Pacific (calendar), I’m presenting a session called 500-Level Career Guide: Building Your Brand. Here’s the abstract: If you want to...

View Article


Image may be NSFW.
Clik here to view.

“Not to write any procedure over 50 lines”

In Joe Celko’s Stairway to Database Design series, he writes: The rules of thumb for T-SQL are not to write any procedure over 50 lines (one page) This seems so radical at first, but it has precedence...

View Article

Image may be NSFW.
Clik here to view.

Updated First Responder Kit and Consultant Toolkit for September 2020

Let’s give a big round of virtual germ-free applause to Adrian Buckman, Erik Darling, Garry Bargsley, Greg Dodd, Ian Manton, John McCall, Kuldar Andares, Pierre Letter, Stephen Anslow, Tom Butler, and...

View Article

Image may be NSFW.
Clik here to view.

Free Webcast Wednesday: Pushing the Envelope with Indexing for Edge Case...

Most of the time, conventional clustered and non-clustered indexes work just fine – but not all the time. When you really need to push performance, hand-crafted special index types can give you an...

View Article


Image may be NSFW.
Clik here to view.

How to Create a Table with a Partitioned Clustered Columnstore Index

If you need to create a table and you want it to be partitioned right from the start, AND you want it to have a clustered columnstore index, here’s a creation T-SQL example:CREATE TABLE...

View Article

Image may be NSFW.
Clik here to view.

Unindexed Foreign Keys Can Make Performance Worse.

I know. You, dear reader, saw that title and you came in here because you’re furious. You want foreign key relationships configured in all of your tables to prevent bad data from getting in. But you...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Suddenly Frozen? You Might Be Snapshotting Too Many Databases.

Snapshot backup tools like Azure Site Recovery and Veeam are great for sysadmins. They let you quickly replicate a virtual machine to somewhere else without knowing too much about the server’s...

View Article


Image may be NSFW.
Clik here to view.

I Would Love a “Cost Threshold for Recompile” Setting.

I’m tired of sniffing your parameters. In environments where complex queries can get bad plans due to parameter sniffing, it would help to say that all queries with an estimated cost over X should be...

View Article


Image may be NSFW.
Clik here to view.

The 4 Presentations I’m Proudest Of, and What Inspired Them

I was thinking back about the presentations I’ve been the most proud of over the years. I’ve written and performed a *lot* of stuff over time, but here are some of the free public presentations I’m the...

View Article

Image may be NSFW.
Clik here to view.

Building SQL ConstantCare®: Warning You About New Large Tables & Indexes

When I’m doing a SQL Server health check, one of the things I like showing clients is a list of their top tables by size. Inevitably, there are a bunch of tables that: Tables whose names start with...

View Article

Image may be NSFW.
Clik here to view.

Announcing a New Class: Fundamentals of Columnstore

Your report queries are too slow. Will columnstore indexes help? You’ve tried throwing some hardware at it: your production SQL Server has 12 CPU cores or more, 128GB RAM, and SQL Server 2016 or newer....

View Article

Image may be NSFW.
Clik here to view.

Want to use columnstore indexes? Take the ColumnScore test.

When columnstore indexes first came out in SQL Server 2012, they didn’t get a lot of adoption. Adding a columnstore index made your entire table read-only. I often talk about how indexing is a tradeoff...

View Article


Image may be NSFW.
Clik here to view.

Free Webcast on Wednesday: The New Robot DBAs in SQL Server 2017, 2019, and...

The robots are really just people wearing metallic masks. You’ve been hearing about all these robots that are coming to take your job. They’re going to automate all the performance tuning and make your...

View Article

Image may be NSFW.
Clik here to view.

Poor Man’s Resource Governor: Database-Scoped Configurations

Let’s say you had report queries that were going wildly parallel, and you wanted to put a stop to it, but you couldn’t afford SQL Server Enterprise Edition. You could do is create databases with...

View Article


Image may be NSFW.
Clik here to view.

What Is the SQL Server CEIP Service?

The CEIP Service is the Customer Experience Improvement Program that sends telemetry data back to Microsoft. When you install Microsoft SQL Server, the CEIP Service is installed too. You can’t disable...

View Article

Image may be NSFW.
Clik here to view.

Woohoo! We Hit 25,000 YouTube Subscribers.

As I finished this weekend’s live stream, I noticed that we crossed a big number. The Brent Ozar Unlimited YouTube channel now has over 25,000 subscribers. Well, that’s kinda awesome. I’ve had a great...

View Article


Image may be NSFW.
Clik here to view.

Free Live Fundamentals Classes, Registration Open Now

Well, this quarantine just isn’t letting up, so it’s time for another round of free training. I’m running 3 free live classes on October 26-28: October 26: Fundamentals of Index Tuning – 9AM-5 Eastern...

View Article

Image may be NSFW.
Clik here to view.

Databases Are Like Walk-In Coolers. #tsql2sday

In the back of a restaurant, there’s a walk-in cooler (or a few of ’em.) When a chef needs to make something, she goes into the walk-in cooler, gathers the necessary ingredients, and then comes out to...

View Article

Image may be NSFW.
Clik here to view.

Free Webcast on Thursday: Avoiding Deadlocks with Query Tuning

To fix blocking & deadlocks, you have 3 tools: Have enough indexes to make your queries fast, but not so many that they slow down delete/update/insert operations. (I cover that in the Mastering...

View Article
Browsing all 3153 articles
Browse latest View live