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
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
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
Bench, work-area and workpiece controls operate at three distinct scopes.

SQL SERVER – 3 Different Ways to Set MAXDOP

November 11, 2020
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

There are 3 different MAXDOP scopes: instance, database and statement. Readers of my 16-versus-1 demonstration asked where to configure it.

Read More
16 CPU

SQL SERVER – 16 CPU vs 1 CPU : Performance Comparison – SQL in Sixty Seconds #142

November 10, 2020
Pinal Dave
SQL Video
Execution Plan, SQL CPU, SQL in Sixty Seconds, SQL Scripts, SQL Server

Well, let us figure out the answer to this question in today’s blog post where I will be doing a performance comparison of 16 CPU vs 1 CPU.

Read More
SQLOS Scheduler

SQL SERVER – SQLOS Scheduler and the Process States

September 14, 2020
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Server, SQL Wait Stats

I strongly suggest that you first watch it before we continue on today’s topic of SQLOS Scheduler and the Process States.

Read More
Parallel Queries

List All Parallel Queries – SQL in Sixty Seconds #098

August 12, 2020
Pinal Dave
SQL Video
Parallel, SQL CPU, SQL in Sixty Seconds, SQL Scripts, SQL Server

During the recent Comprehensive Database Performance Health Check, my client asked me if I have a query which can list all the parallel queries.

Read More
Gouache painting of a row of open beach umbrellas with one closed vermilion umbrella at the end

Visible Offline Schedulers: Find CPUs SQL Server Ignores

May 12, 2020
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Monitoring, SQL Server Configuration

Visible offline schedulers are CPUs that Windows shows and SQL Server refuses to use. This post reads the scheduler status with tested queries, compares it with the CPU count and affinity, and explains the two common causes. It also shows the statement that returns the CPUs to automatic affinity.

Read More
Previous 1 2 3 4 5 6 7 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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