Search Results for “execution plan”
[Video] Office Hours: Lots of Good SQL Server Questions
[Video] Office Hours: 25 Pretty Good Questions
[Video] Office Hours Speed Round: 21 Answers in 15 Minutes
Office Hours: One-Word Answers Edition
Office Hours: Gif Reactions Edition
11 Using Triggers on One Table
Earlier, when we talked about passing multiple values to a stored procedure, we had problems with delimiters. Some users had the pipe symbol (|) in their Location, and we probably want to stop them from doing that. Let’s say we wanna make a business rule that nobody’s Location column is allowed to hit the pipe….
SQLBits 2022 Day 1 Keynote
[Video] Office Hours: Cabo Home Studio Edition
[Video] Office Hours: First Post From Cabo
You Probably Shouldn’t Index Your Temp Tables.
Changing Statistics Cause Longer Compilation Times
03 How Columnstore Data Is Selected
Now that you understand how columnstore data is stored in row groups, column segments, and delta stores – that it’s kinda partitioning on steroids – let’s see how SQL Server uses this sliced-up, diced-up data to more rapidly find the rows you’re looking for. We’ll dig into the different reasons that columnstore indexes perform more…
Updated First Responder Kit and Consultant Toolkit for June 2020
4.1 Lab 4 Setup: Fixing the Problems You’ve Been Tracking Down
Through the course of the, uh, course, we’ve been gradually layering on more ways that you can detect and prevent parameter sniffing performance problems. Now, it’s your final lab. No running workload this time: you’re going to take the query plans and parameter sets that you’ve been gathering so far, and actually get to work fixing…
06. What Triggers Parameter Sniffing Emergencies, Part 2
There are 3 specialized causes for parameter sniffing: unparameterized queries flooding the plan cache, memory pressure due to query workspace grants, and plans aging out of the cache. Demo Script Transact-SQL /* Fundamentals of Parameter Sniffing What Triggers Parameter Sniffing Emergencies, Part 2 v1.2 – 2020-08-04 https://www.brentozar.com/go/snifffund This demo requires: * SQL Server 2016 or…
[Video] Watch Brent Write T-SQL
05. What Triggers Parameter Sniffing Emergencies, Part 1
The biggest problem with parameter sniffing isn’t that SQL Server can produce different plans. The real problem is that the plans change unexpectedly, seemingly out of nowhere, with. no advanced warning. However, armed with an understanding of what triggers plans to be evicted from the cache, you can start to predict when these emergencies will…
How to Think Like the SQL Server Engine: Adding a Nonclustered Index
Which Queries Should You Cache in the Application?
Hi! I’m Brent Ozar.
I make Microsoft SQL Server go faster. I love teaching, travel, cars, and laughing. I’m based out of Las Vegas. He/him. I teach SQL Server training classes, or if you haven’t got time for the pain, I’m available for consulting too.
Want to advertise here and reach my savvy readers?