Beschreibung:
Troubleshoot slow-performing queries and make them run faster. Database administrators and SQL developers are constantly under pressure to provide more speed. This new edition has been redesigned and rewritten from scratch based on the last 15 years of learning, knowledge, and experience accumulated by the author. The book Includes expanded information on using extended events, automatic execution plan correction, and other advanced features now available in SQL Server. These modern features are covered while still providing the necessary fundamentals to better understand how statistics and indexes affect query performance.
Covers cutting-edge features like Query Store, adaptive execution plans, automated tuning in Azure.
1. Query Performance Tuning.- 2. Execution Plan Generation and the Query Optimizer.- 3. Methods for Capturing Query Performance Metrics.- 4. Analyzing Query Behavior Using Execution Plans.- 5. Statistics, Data Distribution and Cardinality.- 6. Using Query Store for Query Performance and Execution Plans.- 7. Execution Plan Cache Behavior.- 8. Query Recompilation.- 9. Index Architecture.- 10. Index Behaviors.- 11. Key Lookups and Solutions.- 12. Dealing with Index Fragmentation.- 13. Parameter Sensitive Queries: Causes and Solutions.- 14. Query Design Analysis.- 15. Reduce Query Resource Use.- 16. Blocking and Blocked Processes.- 17. Causes and Solutions for Deadlocks.- 18. Row-By-Row Processing from Cursors and Other Causes.- 19. Memory-Optimized OLTP Tables and Procedures.- 20. Graph Databases.- 21. Intelligent Query Processing.- 22. Automated Tuning in Azure and SQL Server.- 23. A Query Tuning Methodology.