Database Topic Archive

SQL Server Articles

Wait statistics, tempdb, Query Store, Always On availability groups, and SQL Server operations notes.

SQL Server CXPACKET Waits: The Top Wait That Usually Means Nothing
7 min read

The wait-stats report showed CXPACKET at 61 percent of all waits, so a well-meaning change set server MAXDOP to 1. The big report queries went from forty seconds to nine minutes overnight, and the actual problem — one missing index…

SQL Server Missing Index DMVs: How to Use Them Without Creating a Mess
7 min read

A well-meaning engineer created forty-one indexes straight from dm_db_missing_index_details. Write latency doubled, three of the new indexes were never read once, and twelve were duplicates of each other with different column order. The DMV is a hint engine, not a…