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 courtroom sketch in pastel, the witness stand holding a small stack of printed T-SQL, the gallery empty, no faces drawn.

SQL Server Triggers on Trial: The State Versus the Trigger

November 3, 2026
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Trigger, Transaction Log

SQL Server triggers, tried in open court. The prosecution says they’re slow, hidden and wrong. The defence says they’re the only witness in the room. Four exhibits were measured on SQL Server 2025, and the judge rules at the end.

Read More
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 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
Six panel office cartoon: a DBA says the nightly full backup has them covered, gets a 2am call, spends the night restoring 258 log files one at a time, and by morning has a full, differential, log and restore test schedule on the whiteboard

Full, Differential and Log Backups: A Practical Guide

August 25, 2026
Pinal Dave
SQL Performance
SQL Backup and Restore, SQL Performance, Transaction Log

Full, differential and log backups are easy to define and easy to get wrong at 2 AM. This animated guide shows which ones to restore, and in what order.

Read More
tlog

SQL SERVER – Transaction Logs: The Good, The Bad, and The Ugly

August 21, 2023
Pinal Dave
SQL Tips and Tricks
Transaction Log

Providing a comprehensive understanding of their role and potential issues. Let us learn about Transaction Logs: The Good, The Bad, and The Ugly.

Read More
Gouache painting of a bead tray with tiny cells beside a tray of four large compartments, one vermilion

VLF Growth Rules: How Many Virtual Log Files One Growth Adds

February 28, 2023
Pinal Dave
SQL Tips and Tricks
SQL Server 2022, Transaction Log, VLF

The VLF growth rules say how many virtual log files one log growth adds: one up to 64 MB, eight up to 1 GB, sixteen above. This post measures them on a demo database, shows a log with 68 VLFs from 1 MB steps, and repairs it by shrinking and growing once.

Read More
Gouache painting of a ready blank canvas on an easel beside a primed canvas and a pot of vermilion paint

Log File Growth and Instant File Initialization: The 64 MB Rule

February 24, 2023
Pinal Dave
SQL Tips and Tricks
Disk, SQL Server 2022, SQL Server Configuration, Transaction Log

The 64 MB rule says log file growth can skip zeroing when instant file initialization is on, but only up to 64 MB. Two trace flags make the SQL Server error log show a 64 MB growth skipping the zeroing and a 65 MB growth zeroing in full. The last section says what to change.

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

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