SQL Server Science
Technical Articles for the DBA / Developer
Home » transaction log

Proving the Restore, Part 10: Can You Reach That Point in Time?

2026-09-01 · by Hannah Vernon · in recovery

Someone asks you to restore a database to 14:30 yesterday, just before a bad deployment. The answer is either a time estimate or “the closest I can get is 14:15”, and which one it is…

Proving the Restore, Part 8: Proving the Log Chain Has No Gaps

2026-08-30 · by Hannah Vernon · in recovery

Restoring a full backup and then a hundred log backups works only if the logs form an unbroken sequence. One missing backup in the middle and the restore stops there, with the database still in…

Proving the Restore, Part 7: One File, Hundreds of Backup Sets

2026-08-29 · by Hannah Vernon · in recovery

Point RESTORE HEADERONLY at a full backup and you get one row. Point it at the file a fifteen-minute log backup job has been appending to since Sunday and you get several hundred. Each row…

How Much Transaction Log Does REORGANIZE Really Generate? I Measured It

2026-08-19 · by Hannah Vernon · in maintenance

A while back I published , including the classic advice: reorganize in the middle band of fragmentation, rebuild above it, because “reorganize only logs the pages it actually moves.” In a LinkedIn discussion, Jeff Moden…

Backup & Recovery from First Principles, Part 5: Restore Sequences and the STOPAT Rewind

2026-08-03 · by Hannah Vernon · in basics

The first four parts of this series were about taking backups. This one is about the operation they all exist for. A restore sequence is a small program you write under pressure, and its grammar…

Backup & Recovery from First Principles, Part 3: The Log Chain and How People Break It

2026-08-01 · by Hannah Vernon · in basics

showed that log backups form a linked list: each backup’s first_lsn equals the previous backup’s last_lsn. Point-in-time restore works by walking that list. Break one link and every log backup after the break is useless…

1 2 Next »

Search

Categories

  • AI for DBAs
  • announcements
    • events
  • basics
    • localization
  • configuration
  • Data Architecture
  • DMVs
  • documentation
  • extended-events
  • Git for DBAs
  • High Availability
  • Hot Takes
  • Internals
  • maintenance
    • patching
  • Opinion
  • performance
  • PostgreSQL
  • Professional Development
  • recovery
  • reporting
  • ROLLBACK;
  • security
    • data security
  • service broker
  • SQL Server Agent
  • statistics
  • sys
  • t-sql
    • xml
  • tools
    • data masking
    • wsus
  • troubleshooting
  • Uncategorized

Pages

  • About SQL Server Science
  • Get Better Help with a Minimal, Complete, and Verifiable Example, or MCVE
  • Privacy Policy

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2026 SQL Server Science