Book description
This practical book provides a comprehensive overview of troubleshooting and performance tuning best practices for Microsoft SQL Server. Database engineers, including database developers and administrators, will learn how to identify performance issues, troubleshoot the system in a holistic fashion, and properly prioritize tuning efforts to attain the best system performance possible.
Author Dmitri Korotkevitch, Microsoft Data Platform MVP and Microsoft Certified Master (MCM), explains the interdependencies between SQL Server database components. You'll learn how to quickly diagnose your system and discover the root cause of any issue. Techniques in this book are compatible with all versions of SQL Server and cover both on-premises and cloud-based SQL Server installations.
- Discover how performance issues present themselves in SQL Server
- Learn about SQL Server diagnostic tools, methods, and technologies
- Perform health checks on SQL Server installations
- Learn the dependencies between SQL Server components
- Tune SQL Server to improve performance and reduce bottlenecks
- Detect poorly optimized queries and inefficiencies in query execution plans
- Find inefficient indexes and common database design issues
- Use these techniques with Microsoft Azure SQL databases, Azure SQL Managed Instances, and Amazon RDS for SQL Server
Publisher resources
Table of contents
- Preface
- 1. SQL Server Setup and Configuration
- 2. SQL Server Execution Model and Wait Statistics
- 3. Disk Subsystem Performance
- 4. Inefficient Queries
- 5. Data Storage and Query Tuning
- 6. CPU Load
- 7. Memory Issues
- 8. Locking, Blocking, and Concurrency
- 9. tempdb Usage and Performance
- 10. Latches
- 11. Transaction Log
- 12. AlwaysOn Availability Groups
- 13. Other Notable Wait Types
- 14. Database Schema and Index Analysis
- 15. SQL Server in Virtualized Environments
- 16. SQL Server in the Cloud
-
A. Wait Types
- ASYNC_IO_COMPLETION
- ASYNC_NETWORK_IO
- BACKUPBUFFER
- BACKUPIO
- BTREE_INSERT_FLOW_CONTROL
- CXCONSUMER
- CXPACKET
- DIRTY_PAGE_TABLE_LOCK
- DPT_ENTRY_LOCK
- EXCHANGE
- HADR_GROUP_COMMIT
- HADR_SYNC_COMMIT
- HTBUILD
- HTDELETE, HTMEMO, HTREINIT, and HTREPARTITION
- IO_COMPLETION
- LATCH_*
- LCK_M_*
- LCK_M_I*
- LCK_M_R*
- LCK_M_S
- LCK_M_SCH_M
- LCK_M_SCH_S
- LCK_M_U
- LCK_M_X
- LOGBUFFER
- OLEDB
- PAGEIOLATCH*
- PAGELATCH
- PARALLEL_REDO_FLOW_CONTROL
- PARALLEL_REDO_TRAN_TURN
- PREEMPTIVE_OS_ACCEPTSECURITYCONTEXT
- PREEMPTIVE_OS_AUTH*
- PREEMPTIVE_OS_LOOKUPACCOUNTSID
- PREEMPTIVE_OS_WRITEFILE
- PREEMPTIVE_OS_WRITEFILEGATHER
- QDS*
- RESOURCE_SEMAPHORE
- RESOURCE_SEMAPHORE_QUERY_COMPILE
- THREADPOOL
- WRITE_COMPLETION
- WRITELOG
- Index
- About the Author
Product information
- Title: SQL Server Advanced Troubleshooting and Performance Tuning
- Author(s):
- Release date: May 2022
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098101923
You might also like
book
SQL Server 2022 Query Performance Tuning: Troubleshoot and Optimize Query Performance
Troubleshoot slow-performing queries and make them run faster. Database administrators and SQL developers are constantly under …
book
SQL Server Query Tuning and Optimization
Get well-versed with ready-to-use techniques for creating high-performance queries and applications Key Features Speed up queries …
book
T-SQL Querying
T-SQL insiders help you tackle your toughest queries and query-tuning problems Squeeze maximum performance and efficiency …
book
Learn T-SQL Querying
Troubleshoot query performance issues, identify anti-patterns in code, and write efficient T-SQL queries Key Features Discover …