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 an open wooden record player with a record on the turntable with a vermilion label

Device Is Not Ready: Fix Operating System Error 21

August 15, 2020
Pinal Dave
SQL Tips and Tricks
Database Corruption, Disk, SQL Error Messages, SQL Server

Device Is Not Ready is the Windows text behind operating system error 21, which SQL Server reports inside error 823. This post explains what the message means, lists the common causes, and gives read-only checks to run before any restart. It ends with the DBCC CHECKDB step that proves the database is healthy.

Read More
A hand clipping a peg at the water level of a rain tank's sight tube, older pegs stepping down above

Logging Free Space per Volume Into a Table Each Day

July 9, 2020
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL DMV, SQL Monitoring

Log free space per volume from SQL Server volume metadata, keep one daily sample per mount point, and compare change with LAG.

Read More
Gouache painting of a small wooden wheelbarrow heaped above its rim with cream stones, one vermilion stone on top

Setup Error 1603: Patch Fails With Not Enough Disk Space on the Volume

January 11, 2020
Pinal Dave
SQL Tips and Tricks
Disk, SQL Error Messages, SQL Log, SQL Patch, SQL Server

Setup error 1603 appeared for three features in a SQL Server patch, all pointing to one component log. That log said Disk full: there is not enough disk space on the volume D. Freeing space on the drive was the corrective action.

Read More
Temporary luggage rests in designated storage spaces on a shelf

Where is Table Variable Created? – Interview Question of the Week #243

September 22, 2019
Pinal Dave
SQL Interview Questions and Answers
Disk, SQL Scripts, SQL Server, SQL TempDB, Temp Table

Question: Where is Table Variable Created?

Answer: On Hard Disk and NOT in Memory.

I suggest you read the following blogs

Read More
Gouache painting of a row of watering cans on a bench with one leaking vermilion can

IO Stalls by Database File: Find the File to Move

August 21, 2019
Pinal Dave
SQL Performance
Disk, SQL DMV, SQL Scripts, System Object

IO stalls measure how long SQL Server waited for the disk, file by file. This post ranks the files of a demo database by stall time, measures a workload with two snapshots, lists the busiest files of a whole instance, and explains how to pick the one file that belongs on the new drive.

Read More
Table of the five sp_who2 statuses: Running has a thread and CPU, Runnable has a thread and waits for a free CPU cycle, Pending has no thread and waits for one, Suspended waits for a resource, mostly I/O, and Sleeping does nothing

Runnable vs Suspended: What Each sp_who2 Status Means

March 15, 2019
Pinal Dave
SQL Tips and Tricks
Disk, SQL CPU, SQL Monitoring, SQL Server

Runnable vs suspended is the question I hear most about the sp_who2 status column. A Runnable session waits for CPU, and a Suspended one waits for a resource such as I/O. Here are all five statuses in plain words.

Read More
An amber warning lamp standing alone on wet concrete in a dark plant room

SQL SERVER – Timeout Occurred While Waiting for Latch: Class FGCB_ADD_REMOVE

October 11, 2018
Pinal Dave
SQL Tips and Tricks
Disk, File format, SQL DMV, SQL Error Messages, SQL Extended Events, SQL Log, SQL Server, SQL Server Configuration

Latch FGCB_ADD_REMOVE timeouts mean a data file is growing slowly. Measured on SQL Server 2025: 4 GB of data in 98 ms, 4 GB of log in 2.3 seconds.

Read More
Previous 1 2 3 4 5 Next
  • Books
  • Testimonials
  • Privacy Policy

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