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 a three-legged stool with a vermilion wedge under its short leg

Reduce IO Waits in SQL Server: Read the Waits First

January 8, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Performance, SQL Wait Stats

To reduce IO waits in SQL Server, first name the wait. This post explains the main IO wait types and measures two of them for a single session on a demo database. It then shows how to check file latency and which fix matches each wait.

Read More
A red wheelbarrow stopped across a garden path with three more wheelbarrows waiting behind it

Diagnosing Blocking Chains With sys.dm_exec_requests

December 12, 2018
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Lock, SQL Performance, SQL Wait Stats

Trace blocking chains from active requests to a candidate head session, inspect sleeping transactions, and verify the owner before action.

Read More
Gouache painting of a tall stone wall with one small round vermilion hatch and a wicker basket on a rope pulley waiting beside it

Backup to URL Hangs on PREEMPTIVE_HTTP_EVENT_WAIT in an Azure VM

December 1, 2018
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Server, SQL Wait Stats

Backup to URL hangs on PREEMPTIVE_HTTP_EVENT_WAIT when an outbound rule denies internet access on an Azure virtual machine. I saw it after blocking the internet on my own VM. An outbound rule that allows the Storage destination fixed it.

Read More
Gouache painting of a small wooden swing bridge stuck half open over a narrow canal, a vermilion flag on its post

AlwaysOn Queries Stuck on HADR_AR_CRITICAL_SECTION_ENTRY Wait

November 8, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL High Availability, SQL Server, SQL Wait Stats

AlwaysOn queries stuck on HADR_AR_CRITICAL_SECTION_ENTRY followed a short loss of cluster quorum at a client site. Every change to the availability group waited. Setting failover to manual and restarting both replicas cleared the wait.

Read More
Gouache painting of a paper kite caught high in the branches of a bare tree by its tangled string, with one vermilion ribbon trailing from its tail

PREEMPTIVE_OS_DEVICEIOCONTROL: DBCC CHECKDB Will Not Stop

October 22, 2018
Pinal Dave
SQL Performance
SQL Error Messages, SQL Server, SQL Server DBCC, SQL Transactions, SQL Wait Stats

A DBCC CHECKDB session waiting on PREEMPTIVE_OS_DEVICEIOCONTROL did not end, even after a stop job and a kill. The wait is outside SQL Server’s control, so nothing inside SQL Server could clear it. Restarting SQL Server removed the session.

Read More
Small red ribbons tied to pine trunks marking a path through a wood to a single picnic table in a clearing.

Decoding wait_resource: From a KEY or PAGE Lock to the Table

August 14, 2018
Pinal Dave
SQL Performance
SQL DMV, SQL Lock, SQL Server, SQL Wait Stats

Decode wait_resource for blocked requests, map KEY and PAGE locks to objects, and keep undocumented row-hash checks on test copies.

Read More
A hand sowing seeds into a red clay pot while a clogged mechanical seeder stands idle

SQL SERVER – Many BACKGROUND Threads with Command VDI_CLIENT_WORKER

June 29, 2018
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Error Messages, SQL Scripts, SQL Server, SQL Wait Stats

Seeing many BACKGROUND threads with command VDI_CLIENT_WORKER? Here is what the VDI_CLIENT_WORKER and VDI_CLIENT_OTHER wait types mean.

Read More
Previous 1 … 4 5 6 7 8 9 10 … 17 Next
  • Books
  • Testimonials
  • Privacy Policy

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