Book description
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 Statistics goes 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
Who This Book Is For
Database administrators who want to identify and resolve performance bottlenecks, those who want to learn more about how the SQL Server engine accesses and uses resources inside SQL Server, and administrators concerned with achieving—and knowing they have achieved—optimal performance
Table of contents
- Cover
- Front Matter
- Part I. Foundations of Wait Statistics Analysis
-
Part II. Wait Types
- 5. CPU-Related Wait Types
- 6. IO-Related Wait Types
- 7. Backup-Related Wait Types
- 8. Lock-Related Wait Types
- 9. Latch-Related Wait Types
- 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
- Example SQL Server Machine Configurations
- Spinlocks
- Latch Classes
- Back Matter
Product information
- Title: Pro SQL Server 2019 Wait Statistics: A Practical Guide to Analyzing Performance in SQL Server
- Author(s):
- Release date: June 2019
- Publisher(s): Apress
- ISBN: 9781484249161
You might also like
book
Pro SQL Server 2022 Wait Statistics: A Practical Guide to Analyzing Performance in SQL Server and Azure SQL Database
Use this practical guide to analyze and troubleshoot SQL Server performance using wait statistics. You'll learn …
book
Expert T-SQL Window Functions in SQL Server 2019: The Hidden Secret to Fast Analytic and Reporting Queries
Become an expert who can use window functions to solve T-SQL query problems. Replace slow cursors …
video
SQL Server 70-762: Developing SQL Databases: Required Knowledge for SQL Server 2012 and 2014
More than 19 hours of video instruction to help you learn and master the skills necessary …
book
Query Store for SQL Server 2019: Identify and Fix Poorly Performing Queries
Apply the new Query Store feature to identify and fix poorly performing queries in SQL Server. …