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 open record book with a gold edged page, one entry highlighted, a small ribbon marking the place.

SQL Server Limits, Verified: Eleven Records Pushed to the Edge

November 4, 2026
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages, SQL Index, SQL Scripts, Undocumented SQL

SQL Server limits, done the way a record book does them. Not what the documentation says, but what happened when I tried one more. Eleven records, each attempted on SQL Server 2025 build 17.0.4085.5, each with the exact error text at the edge. One documented figure turned out to be wrong on this…

Read More
A newspaper obituary portrait in soft black and white of a server rack from the late 1990s, slightly out of focus, with a small black border.

The Nightly Index Rebuild Job, 1998 to 2026: An Obituary

October 27, 2026
Pinal Dave
SQL Performance
Maintenance Plan, SQL Index, SQL Performance, SQL Statistics, Transaction Log

The nightly index rebuild job has died after a long illness. It was born in 1998 to a hard disk that could not seek. It never believed the disk had been replaced. It is survived by page density, which did most of its work all along.

Read More
A colour plate in the style of a classic bird guide, eight small execution plan silhouettes arranged in two columns with numbers beside them.

Slow Queries: A Field Guide to Eight Species

October 23, 2026
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Scripts, SQL Wait Stats

Slow queries, identified the way a field guide identifies birds: by silhouette, habitat, call, and the species they’re confused with. All eight were raised in the lab on SQL Server 2025. The reads and the wait types are what each one produced.

Read More
Recorded test: bigint used 848 leaf pages at 99 percent fullness; GUID used 1292 at 68.8 percent

When a GUID Clustered Primary Key Gets Expensive

October 14, 2026
Pinal Dave
SQL Performance
Clustered Index, SQL Datatype, SQL Index, SQL Performance

A GUID primary key can be useful. Learn when a GUID clustered primary key gets expensive, from page splits to index size, and when a bigint key can help.

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
Gravel path illuminated at night.

Your Index Rebuild Maintenance Plan Is Rebuilding Indexes Nobody Uses

September 17, 2026
Pinal Dave
SQL Performance
Maintenance Plan, SQL Index, SQL Statistics

Your index rebuild maintenance plan takes four hours every Sunday, fills the log and delays the backup. It may be buying you far less than everybody assumes.

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
1 2 3 4 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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