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
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
A wide new road ending at an old one-lane stone bridge, cars queued at the bridge and the road behind empty.

Choosing Hardware for SQL Server Now

April 12, 2013
Pinal Dave
SQL Tips and Tricks
Disk, Hardware, SQL CPU, SQL Server

Choosing hardware for SQL Server Now means matching core cost, memory, and storage latency to measured workload needs and future growth.

Read More
A candelabra with one red candle burned far lower than the others

Finding Which Database Uses the Most CPU on a Shared Instance

March 15, 2013
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Performance, SQL Server

Find which database uses the most CPU from cached query stats and plan attributes, then use Query Store for restart-safe history.

Read More
Gouache painting of a row of small potted plants and one giant thirsty plant in a red pot beside an empty watering can

Find the Most Resource Intensive Queries in SQL Server

October 3, 2012
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Monitoring, SQL Scripts

To find resource intensive queries, read sys.dm_exec_query_stats and rank the cached statements by reads, CPU or time. This post builds a small demo, ranks it two ways, and fixes the worst offender with one index. It also explains what the numbers can and cannot tell you.

Read More
A pile of washed white laundry turned pink, a hand holding up the single red sock that caused it.

Finding the Worst Query in Five Minutes With Query Store

April 20, 2012
Pinal Dave
SQL Performance
Query Store, SQL CPU, SQL Performance, SQL Server

Find the worst query with Query Store totals, compare CPU and duration over the last day, inspect plans, and choose the first tuning target.

Read More
Kit hands the burner to Jesse, calls town hall on the wall phone, and gets stuck on hold with table 4's ticket still in Kit's pocket. In the last panel Casey holds the stopwatch up to the phone as if town hall could hear it tick: "Their clock, not ours. The wait name says who to call."

PREEMPTIVE Wait Stats: Calls Outside SQL Server

February 19, 2011
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Server, SQL Wait Stats

PREEMPTIVE wait stats record the time a task spends in code outside SQL Server, such as a call into Windows. On Night 19 at the Clipboard Diner, Kit picks up the wall phone to town hall and steps off the kitchen’s schedule. Then two queries find the preemptive waits that matter on your server.

Read More
Every cook in the kitchen stands at the pie case waiting on a pie the bowling league reserved, so a new order goes untouched. In the last panel Casey hands the league the pie and all six cooks burst away in every direction: "We weren't short of cooks. We were stuck on pie!"

THREADPOOL Wait Stats: When Worker Threads Run Out

February 16, 2011
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Lock, SQL Wait Stats

THREADPOOL wait stats mean a task is waiting for a worker thread because every worker is already busy. On Night 16 at the Clipboard Diner, every cook holds a ticket that can’t move, and nobody is free to take a new order. Then two queries show how close your server is to its worker limit, and how to get in when nobody else can.

Read More
Previous 1 … 9 10 11 12 13 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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