Search Results for “SQLQueryStress”
What Happens When Multiple Queries Compile at Once?
How To Set Up Your SQL Server Training Class Lab VM
0 – Prerequisites Before the Class
4 – Temp Tables and Table Variables at Scale: PFS/GAM/SGAM Contention
Because it’s so easy to create & use temp tables, some applications grow to depend on ’em. If your workload creates, loads, and drops thousands of temp tables per second, you can hit a SQL Server bottleneck involving how SQL Server tracks where objects live in TempDB. It’s called latch contention, also known as PFS/GAM/SGAM…
5 – Memory-Optimized Table Variables
In the last module, we finished up by showing how Microsoft used In-Memory OLTP (Hekaton) technology in SQL Server 2019 to let TempDB’s system tables work faster. That’s an easy way to reduce latch wait times, but it’s not the only way: you can directly adopt In-Memory OLTP yourself by changing your temp tables to…
When You’re Troubleshooting Blocking, Look at Query #2, Too.
0.2 How to Set Up Your Own Lab Server
Bad Idea Jeans: Building Big Query Plans
Bonus Lab: Seeing the Effects of SQL Server 2019 Compat Mode
This lab is left as an extra exercise for the reader if you’d like to do it later on your own. So far in the class, we’ve been using 2017 compatibility mode. If you’d like to see how 2019 performs differently, you can turn on all of the cutting edge features on your version of…
2.4 Lab 3: Track Down Plans & Parameters
Now, it’s your turn: we’re going to run a workload in your lab while sp_BlitzFirst collects data and Query Store runs. You’ll query the plan cache history in DBAtools.dbo.BlitzCache and BlitzWho, find queries whose plans are changing, and gather parameters & plans to use that will help you design a better plan tomorrow. You don’t…
08. Lab: Tackle a Parameter Sniffing Emergency
The phones are ringing, the users are screaming, and your manager is dropping four-letter words. The server’s performance has tanked, and you’re the one on call. Start up a workload, find the query who suddenly got a terrible plan, and do the needful. Part 1: Setting Up the Lab Part 2: Your Mission Part 3:…
0.1 Prerequisites Before the Class
1 Prerequisites Before the Class
0 Prerequisites Before the Class
How to Set Up Your Own Mastering Class VM
Performance Tuning in One Day
Is It a Code Problem or a Server Problem?
Free SQL Server Load Testing Tools
What does Azure SQL DB Automatic Index Tuning actually do, and when?
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?