SQL Server: Common Query Tuning Problems and Solutions - Part 2
This course teaches how to recognize and diagnose numerous types of SQL Server query performance problems.
What you'll learn
There are a wide variety of common performance problems that you will encounter when query tuning. Part 2 of this two-part course begins by covering common problems arising from writing and using inefficient Transact-SQL code. You'll then learn about query performance problems and associated query tuning solutions for situations where the query and/or design is inappropriate for the workload type. Finally, the course will cover a variety of more advanced query tuning problem and solutions. The course is very demo-centric, with lots of practical tips and tricks you'll be able to apply in your environment. This course is perfect for developers, DBAs, and anyone responsible for query performance tuning in SQL Server, from SQL Server 2005 onward.
Table of contents
- Module Introduction 1m
- Demo: One-Row-At-A-Time-Processing 3m
- Demo: The Forgotten Trigger 4m
- Demo: Scalar Function Inhibited Parallelism 2m
- Demo: Scalar Function Row by Row Execution 3m
- Demo: Too Few Rows Per Batch 4m
- Demo: Not Using TOP When You Can 3m
- Demo: Unnecessary Many-To-Many 4m
- Demo: Excessive Fragmentation and Scans 4m
- Module Summary 0m
- Module Introduction 1m
- Defining OLTP and DSS 1m
- OLTP Characteristics 1m
- Demo: Stop-And-Go Operators 5m
- Demo: Finding Timeout-Prone Queries 3m
- Demo: Over-Indexing 3m
- Demo: OLTP and Parallelism 4m
- Demo: OLTP and Deep Trees 3m
- DSS Characteristics 1m
- Demo: Expanding the AdventureWorksDW2012 Database 2m
- Demo: Unwanted Serial Plans 5m
- Demo: Gatekeeper Row Issue - Part 1 4m
- Demo: Gatekeeper Row Issue - Part 2 3m
- Demo: Gatekeeper Row Issue - Part 3 3m
- Demo: Aggregation Queries and Columnstore Index Opportunities 3m
- Demo: Distinct Aggregation Issue 3m
- Module Summary 0m
- Module Introduction 1m
- Demo: New-Feature Abuse 5m
- Demo: Recursive CTE Estimate Skews 5m
- Demo: Seeks, Scans, Predicates, and Filters - Part 1 3m
- Demo: Seeks, Scans, Predicates, and Filters - Part 2 3m
- Demo: Seeks, Scans, Predicates, and Filters - Part 3 4m
- Demo: Unmatched Indexes 4m
- Demo: Disused Filtered Statistics 4m
- Demo: Interpreting RetrievedFromCache 4m
- Demo: Amplification and Distinct Value Counts 5m
- Demo: Join Hints and Forced Order 5m
- Demo: CTEs vs. Derived Tables 4m
- Demo: One Procedure With Multiple Optional Input Parameters 5m
- Demo: Procedure Sub-Branching 3m
- Demo: Verifying Instance Workload Complexity 3m
- Module Summary 0m
- Course Summary 0m