SQL Server Query Performance Tuning

Front Cover
Apress, 2014 M09 16 - 612 pages

Queries not running fast enough? Wondering about the in-memory database features in 2014? Tired of phone calls from frustrated users? Grant Fritchey’s book SQL Server Query Performance Tuning is the answer to your SQL Server query performance problems. The book is revised to cover the very latest in performance optimization features and techniques, especially including the newly-added, in-memory database features formerly known under the code name Project Hekaton. This book provides the tools you need to approach your queries with performance in mind.

SQL Server Query Performance Tuning leads you through understanding the causes of poor performance, how to identify them, and how to fix them. You’ll learn to be proactive in establishing performance baselines using tools like Performance Monitor and Extended Events. You’ll learn to recognize bottlenecks and defuse them before the phone rings. You’ll learn some quick solutions too, but emphasis is on designing for performance and getting it right, and upon heading off trouble before it occurs. Delight your users. Silence that ringing phone. Put the principles and lessons from SQL Server Query Performance Tuning into practice today.

  • Covers the in-memory features from Project Hekaton
  • Helps establish performance baselines and monitor against them
  • Guides in troubleshooting and eliminating of bottlenecks that frustrate users

 

Contents

SQL Query Performance Tuning
1
Memory Performance Analysis
17
Disk Performance Analysis
35
CPU Performance Analysis
47
Creating a Baseline
57
Query Performance Metrics
69
Analyzing Query Performance
85
Index Architecture and Behavior
111
Query Recompilation
321
Query Design Analysis
355
Reduce Query Resource Use
379
Blocking and Blocked Processes
397
Causes and Solutions for Deadlocks
443
RowbyRow Processing
459
MemoryOptimized OLTP Tables and Procedures
483
Database Performance Testing
505

Index Analysis
143
Database Engine Tuning Advisor
165
Key Lookups and Solutions
181
Statistics Data Distribution and Cardinality
193
Index Fragmentation
237
Execution Plan Generation
269
Execution Plan Cache Behavior
283
Parameter Sniffing
311
Database Workload Optimization
515
SQL Server Optimization Checklist
547
Index
565
Contents
v
About the Author
xxiii
About the Technical Reviewer
xxiv
Acknowledgments
xxv
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information