Loading…
Attending this event?
Wednesday, May 22 • 15:00 - 16:00
Why is the Same Query Sometimes Slow?

Log in to save this to your schedule and see who's attending!

Log in to leave feedback.
You swear nothing has changed, but all of a sudden, out of nowhere, queries that used to be fast are suddenly slow. Even weirder, you take the slow query from the application, run it in SSMS, and it's totally fast! What's going on? You restart SQL Server or update statistics, and the problem seems to go away - but only for a few days or weeks, and then it comes right back. You're familiar enough with execution plans to realize that you're getting different plans, but...why? And how do you fix it long term?

In this session, you'll see live demos of the most common culprit: parameter sniffing. You'll learn how to recognize parameter sniffing when it strikes, understand what causes it, see how to fix it short term with the lowest impact possible, and learn 7 ways to fix it long term.

Speakers
avatar for Brent Ozar

Brent Ozar

Brent Ozar loves to make SQL Server faster and more reliable. He created sp_Blitz® and the SQL Server First Responder Kit, and he loves sharing knowledge at BrentOzar.com. He holds a bunch of certifications and awards including the rare Microsoft Certified Master.


Wednesday May 22, 2019 15:00 - 16:00
Room 8