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
A paperback adventure book illustration in the old two colour style, a phone glowing on a bedside table at night.

SQL Server Blocking at 2 a.m.: You Are the On-Call DBA

November 2, 2026
Pinal Dave
SQL Performance
SQL Activity Monitor, SQL Error Messages, SQL Lock, SQL Scripts, Transaction Log

SQL Server blocking, told as a choose-your-own-path story. You are the on-call DBA. The phone has gone. The diagnosis and the kill were run in the lab on SQL Server 2025 and measured. The other branches are reasoned, and the text says which is which.

Read More
A recipe card on a kitchen counter, hand lettered, titled Slow Cooked Deadlock, with two small drawn pans facing each other.

SQL Server Deadlock, Slow-Cooked: A Recipe That Serves Two Sessions

October 28, 2026
Pinal Dave
SQL Tips and Tricks
Deadlock, SQL Error Messages, SQL Lock, SQL Scripts

A SQL Server deadlock, written up the way a recipe card is written. Ingredients, prep, method, and what to do when the sauce splits. It reproduces on SQL Server 2025 every time, and I have the timestamps and the deadlock graph to prove it.

Read More
NOLOCK Double Counting: One Employee, Two Lunches

NOLOCK Double Counting: One Employee, Two Lunches

September 22, 2026
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Index, SQL Lock, SQL Transactions

NOLOCK double counting is how three people in a lunch line turn into four lunches. Nothing was inserted. One row moved ahead of the scan and got read twice. I tested it on SQL Server 2025 and share a query that catches it on your own table.

Read More
NOLOCK Can Miss Rows: The Order That Was Never Missing

NOLOCK Can Miss Rows: The Order That Was Never Missing

September 10, 2026
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Lock, SQL Transactions

Yes, NOLOCK can miss rows. A row can vanish from your report while it sits safely in the table. Nobody deleted it. The read simply walked past it.

Read More
The same four pages. A row moves from page 4 into the empty slot on page 1 after the scan has passed, page 1 ends with four rows that were counted as three, and the query answers 11

NOLOCK: Why It Counts Some Rows Twice and Misses Others

September 4, 2026
Pinal Dave
SQL Performance
SQL Index, SQL Lock

Everybody knows NOLOCK can show uncommitted data. Far fewer know why it counts some rows twice and misses others, with nothing rolled back. Let me show you.

Read More
iderablogimage

The Locks, Blocks, and Deadlocks of SQL Server: Unraveling the Knots

September 27, 2023
Pinal Dave
SQL Tips and Tricks
Deadlock, Idera, SQL Lock

SQL Server is no exception. However, it often leads to three common phenomena – locks, blocks, and deadlocks. SQL Diagnostic Manager SQL Server

Read More
Locking

SQL SERVER – Locking, Blocking, and Deadlocking: Differences, Similarities, and Best Practices

June 22, 2023
Pinal Dave
SQL Performance
Deadlock, SQL Lock

Understanding SQL Server Deadlocks: A Beginner’s Guide, and after reading it, lots of people have asked me the difference between Locking, Blocking, and Deadlocking.

Read More
1 2 3 4 … 11 Next
  • Books
  • Testimonials
  • Privacy Policy

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