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 clean-looking mop bucket and wringer beside a mop with a visible dirty stripe

Buffer Cache Hit Ratio: Why a Healthy Number Can Lie

March 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Counter, SQL Memory

A 99 percent ratio does not mean your memory is fine. Here is how to read the counter correctly and what to check beside it.

Read More
An overflowing toy box beside a larger empty toy chest and a few small crates in a child's room.

Scale Up or Scale Out: Signs Your Server Needs More Hardware

April 22, 2013
Pinal Dave
SQL Performance
DBA, Hardware, SQL CPU, SQL Memory, SQL Wait Stats

Decide when to scale up SQL Server by checking sustained CPU demand, memory pressure, storage latency, and whether query tuning comes first.

Read More
Comic strip: four cooks build one giant cookie tray, three of them wait on Jesse's heavy bowl of chunky dough, and with the dough split evenly they all finish at once in a synchronized dance pose. Casey says, "Even bowls, short wait. The tray was never the problem."

Batch Mode Wait Stats: HTBUILD and Columnstore Waits

February 26, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Memory, SQL Wait Stats

Batch mode wait stats such as HTBUILD and BPSORT show threads waiting for each other inside a parallel batch mode plan. On Night 26 at the Clipboard Diner, four cooks wait for one giant shared tray before 900 cookies can bake. Then I show when these waits are normal, when skew or spills make them a problem, and how to check them.

Read More
Comic strip: Dee reserves the whole counter with three hundred plates for a wedding that brings one hundred twenty guests, so Kit's birthday cake ends up balanced on Ace's tall cook's hat. Casey says, "Next time we count heads before we clear the counter."

RESOURCE_SEMAPHORE Wait Stats: Memory Grant Waits

February 25, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Memory, SQL Performance, SQL Wait Stats

RESOURCE_SEMAPHORE wait stats mean a query is waiting for memory before it can even start. On Night 25 at the Clipboard Diner, a wedding party reserves the whole counter and two birthday parties wait. Then I show how to find waiting grants, why grants grow too big, and the fixes I try first.

Read More
Casey clears a small patch of counter for a cake for twelve, sixty guests show up, and Jesse ends up frosting half the cake down in the basement. In the last panel a frosting-covered Jesse sits by the lopsided cake while Casey takes the next cake order on the phone: "Cake for twelve? Lovely. Now, how many are really coming?"

IO_COMPLETION Wait Stats: Spills, Sorts and File Growth

February 10, 2011
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts, SQL TempDB, SQL Wait Stats

IO_COMPLETION wait stats measure queries waiting on disk work that isn’t a normal data page read, such as sorts and hashes that spill to tempdb. On Night 10 at the Clipboard Diner, a sheet cake for twelve turns out to be for sixty. Learn why spills happen, how to find them, and what SQL Server 2022 changed for log file growth.

Read More
Ace waits at the top of dark basement stairs for ingredients, then a whole crate of lettuce arrives for a single leaf and knocks the salsa jar off the counter into Quinn's hands. Casey says, "A whole crate for one leaf? Fix the reads first."

PAGEIOLATCH Wait Stats: Waiting for Data From Disk

February 9, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Memory, SQL Scripts, SQL Wait Stats

PAGEIOLATCH wait stats measure queries waiting while data pages are read from disk into memory. On Night 9 at the Clipboard Diner, the prep counter is too small for the menu and the cooks keep sending for things from the basement. Learn the two causes, how to read file latency per file, and the fixes in order.

Read More
SQL SERVER - Plan Cache and Data Cache in Memory

SQL SERVER – Plan Cache and Data Cache in Memory

December 28, 2010
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts

Two scripts I share with clients all the time: they show the plan cache and data cache in memory, with cached plans by size and cached pages by table.

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

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