This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A glassblower turning a half-formed glowing vase on a blowpipe, finished vases cooling on a shelf behind

Live Plans for Running Queries With sys.dm_exec_query_statistics_xml

June 23, 2022
Pinal Dave
SQL Performance
Execution Plan, SQL DMV, SQL Server, SQL Wait Stats

Read sys.dm_exec_query_statistics_xml for live plans, compare profile counts with estimates, and interpret partial progress carefully.

Read More
A row of iron cleats on a dock, all lines slack except one taut red line.

Latch Waits at the Top: Reading sys.dm_os_latch_stats

June 28, 2021
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Sample SQL Server latch waits by class, then connect ACCESS_METHODS_DATASET_PARENT, FGCB_ADD_REMOVE, and LOG_MANAGER to the next check.

Read More
Gouache painting of three snails crawling along a plank with the front one having a vermilion shell

Top Three Wait Stats and What Each One Means

March 10, 2021
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Performance, SQL Server, SQL Wait Stats

The top three wait stats in the files people sent in were CXPACKET, SOS_SCHEDULER_YIELD and ASYNC_IO_COMPLETION. A small demo makes each wait happen and measures it with session wait statistics. The post explains what each one means and what to check next.

Read More
Wait Stats for Performance

Wait Stats for Performance – SQL in Sixty Seconds #157

March 9, 2021
Pinal Dave
SQL Tips and Tricks
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Wait Stats

I finally decided to create a video on that topic on my SQL in Sixty Seconds Channel. I will create more videos on the topic Wait Stats for Performance.

Read More
Gouache painting of a row of glass jars with different water levels along a wall, one under a vermilion funnel

Waits Since Restart: A Wait Stats Query With Uptime Rates

March 8, 2021
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Wait Stats

Waits since restart show where a SQL Server spends its waiting time. One query ranks the real waits, removes the idle ones, and adds the average wait, the signal share and a rate per hour of uptime. A table maps the common waits to the area to check next.

Read More
Gouache painting of a small vermilion boat on a calm river beside a row of small wooden carts waiting on the bank

RESOURCE_SEMAPHORE vs THREADPOOL: Two Waits, Two Fixes

March 2, 2021
Pinal Dave
SQL Performance
SQL CPU, SQL Memory, SQL Server, SQL Wait Stats

RESOURCE_SEMAPHORE vs THREADPOOL tells you whether a task waits for memory or for a worker thread. This post reads both counters and checks for live waits. A demo shows how an index shrinks a memory grant from 38,216 KB to zero.

Read More
Birds spaced along a power line except around one red insulator where dozens crowd together

Finding the Indexes Behind Lock Waits With Operational Stats

January 18, 2021
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Lock, SQL Wait Stats

Rank indexes behind lock waits with operational stats, separate latches from locks, and test targeted access or row versioning fixes.

Read More
Previous 1 2 3 4 5 … 16 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com