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
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
SQL SERVER - Minimum Maximum Memory - Server Memory Options

SQL SERVER – Minimum Maximum Memory – Server Memory Options

October 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Memory

While reading about server memory options, I learned the lowest value you can set for max server memory is 16 MB. Anything lower is reset to 16 MB.

Read More
A carpenter measuring an old doorway with a stretched string, fresh timber waiting uncut on trestles.

Sizing a New SQL Server

May 16, 2010
Pinal Dave
SQL Tips and Tricks
DBA, Hardware, SQL CPU, SQL Memory

Sizing a new SQL Server starts with workload evidence, growth, and recovery goals to estimate CPU, memory, storage, and headroom.

Read More
SQL SERVER - Queries Waiting for Memory Allocation to Execute

SQL SERVER – Queries Waiting for Memory Allocation to Execute

October 9, 2009
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts

Find queries waiting for memory allocation with sys.dm_exec_query_memory_grants, plus wait_order and the query plan, when you suspect memory is short.

Read More
An overcrowded umbrella stand of cheap folding umbrellas squeezing out one worn red umbrella

Finding Single-Use Plans Wasting Memory in the Cache

August 29, 2009
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Memory, SQL Server

Find single-use plans, compare their cache memory with the total, and inspect parameterization before discussing server-wide cache settings.

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

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