Abstract: Welcome to the great Performance Tuning Magic Show!
Come to the show and watch real magic in action. We will analyze common use cases of poorly performing queries and apply magic tricks to make them run really fast. But unlike traditional magic shows, we will learn how these magic tricks actually work. We will learn through extensive demos how to troubleshoot these use cases and how to boost performance using advanced and practical techniques.
Some examples of magic tricks we will cover: proper handling of parameter sniffing, scalar UDF inlining and T-SQL tricks.
By the end of the show, you will walk away with a list of actionable performance tuning techniques, including how to identify candidate queries for each magic trick.
Enjoy an interactive and entertaining magic show (and yes, I will pull a rabbit out of my hat).
- Analyzing Execution Plans
- Search Arguments
- Data Type Issues
- Indexes Best Practices
- Temporary Tables vs. Table Variables
- (Not) Using Cursors
- Scalar Functions and Inlining
- Working with Parameters and Variables
- Skewed Data Distribution
- Window Functions
- LOB Data
- Row Identifiers
- Manipulating Statistics
- Query Hints and Plan Guides
- Intelligent Query Processing
- And More, As Time Permits…