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
Kit gets the potatoes fast, but every burner is busy, so the order waits on the rail while the potatoes grow bored little faces and Casey hangs a second stopwatch. Quinn sums it up: "Ready to cook, stuck in line. That's a signal wait!"

Signal Wait Stats: CPU Waits vs Resource Waits

February 2, 2011
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Scripts, SQL Wait Stats

Signal wait stats show how long a SQL Server query sat ready to run, waiting in line for a CPU. On Night 2 at the Clipboard Diner, the potatoes arrive on time and the Garden Hash waits anyway. Then two queries split your server’s waits into the CPU part and the resource part.

Read More
A postcard says the food critic is coming, the busy kitchen can't explain its late plates, and Casey hangs up a new clipboard while Ace, Quinn and even the jukebox lean in. Casey asks, "New question. What are we waiting for?"

Wait Stats Explained: SQL Server as an All-Night Diner

February 1, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Performance, SQL Wait Stats

Wait stats explained with one picture: SQL Server is an all-night diner, and every query is an order ticket that waits for something. Meet the Clipboard Diner, its owner Casey, the cooks and booth 7. Then count the burners and cooks on your own server with one query.

Read More
Casey times one Garden Hash: Ace stalls at an empty potato bin, and by the time Quinn serves the plate, a cobweb has grown on the trucker's coffee cup. Casey reads the stopwatch: "Cooking: four minutes. Waiting: nine."

Wait Stats Basics: How Waits Work in SQL Server

February 1, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Wait Stats

Wait stats basics start with one idea: a query in SQL Server is always either working or waiting. On Night 1 at the Clipboard Diner, one plate of Garden Hash shows the three states every query moves through. Then two queries show the same thing on your own server.

Read More
Bees crowding one narrow entrance of a wooden beehive while a second opening on the side stays almost empty.

High-Frequency Inserts Without Blocking

September 16, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Lock, SQL Server, SQL Wait Stats, Transaction Log

High-frequency inserts can stall on the log, indexes, or last-page contention; learn to diagnose the wait and choose targeted SQL Server fixes.

Read More
Gouache painting of a single small red crane on a quay with a long line of crates waiting to be moved

Measure CPU Pressure in SQL Server with Waits and Schedulers

August 17, 2009
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Wait Stats

CPU Pressure means tasks are ready to run but every scheduler is busy, so they wait in a queue. This post reads that queue from the schedulers, compares signal waits with resource waits, checks recent CPU history and finds the queries that use the most CPU. It ends with a plain way to decide between a faster CPU, more cores and better queries.

Read More
A hand holding a stethoscope to the flank of a calm chestnut horse in a stable, a closed leather bag nearby

Five DMVs Worth Memorizing

December 19, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Server, SQL Wait Stats

Five DMVs worth memorizing show SQL Server sessions, active requests, waits, index use, and file I/O during an incident.

Read More
Two glass jars on a garden wall, one empty, one filled with water under a red lid

Comparing Two Wait Stats Snapshots to See What Changed

December 8, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Compare wait stats snapshots over a chosen window, subtract cumulative counters, remove background waits, and calculate rates and average waits.

Read More
Previous 1 … 13 14 15 16 17 Next
  • Books
  • Testimonials
  • Privacy Policy

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