10. High-Availability and Disaster-Recovery Wait Types
11: Preemptive Wait Types
12: Background and Miscellaneous Wait Types
13. In-Memory OLTP-Related Wait Types
14. Appendix I. Example SQL Server Machine Configurations
15. Appendix II. Spinlocks
16. Appendix III. Latch Classes
Enrico van de Laar has been working with data in various formats and sizes for over 15 years. He is a data and advanced analytics consultant for Dataheroes where he helps organizations optimize their data platform environment and helps them with their first steps in the world of advanced analytics. He is a Data Platform MVP since 2014 and a frequent speaker on various data-related events throughout the world. He frequently blogs about technologies such as Microsoft SQL Server and Azure Machine Learning on his blog at enricovandelaar.com. You can contact Enrico on Twitter @evdlaar.
Here is a practical guide for analyzing and troubleshooting SQL Server performance using wait statistics. Learn to identify precisely why your queries are running slowly. Measure the amount of time consumed by each bottleneck so that you can focus attention on making the largest improvements first. This edition is updated to cover analysis of wait statistics inside Query Store, the CXCONSUMER wait event, and to be current with SQL Server 2019. Whether you are new to wait statistics, or already familiar with them, this book provides a deeper understanding on how wait statistics are generated and what they can mean for your SQL Server instance’s performance.
Pro SQL Server 2019 Wait Statisticsgoes beyond the most common wait types into the more complex and performance-threatening wait types. You’ll learn about per-query wait statistics and session-based wait statistics, and the types of problems they each can help you solve. The different wait types are categorized by their area of impact, including CPU, IO, Lock, and many more.
The book presents clear examples to help you gain practical knowledge of why and how specific wait times increase or decrease, and how they impact your SQL Server’s performance. After reading this book you won’t want to be without the valuable information that wait statistics provide regarding where you should be spending your limited tuning time to maximize performance and value to your business.
What You'll Learn:
Identify resource bottlenecks in a running SQL Server instance
Locate wait statistics information inside DMVs and Query Store
Analyze the root cause of sub-optimal performance
Diagnose I/O contention and locking contention
Benchmark SQL Server performance
Lower the wait time of the most popular wait types