top of page

Main Reasons for Transaction log chain break

  • Writer: Jha Chandan
    Jha Chandan
  • Feb 28, 2023
  • 1 min read

The SQL Server transaction log backup chain or Transaction log chain is the series of sequential transaction log backups related to a database. The log backups are related to each other and are represented through LSN (Log Sequence Number). The transaction log stores the database activity (the transactions). For example, if we insert, delete or update data we will have a transaction registered in the Transaction log. Breaking the transaction log chain will limit the restore point of the backups.

ree

As per Microsoft, below are the main causes for the transaction log breaking:

1) Switching the Recovery Model from FULL to SIMPLE

2) Reverting database with Database Snapshot

3) Log Backups using the Truncate Only option.

4) Log Backup with No_log Option

Lets take an example to understand:-

-> TestDB has a backup schedule of a FULL Backup once a day and transaction log backups every hour.

-> In Evening, a DBA/Developer decides to change the Recovery model from FULL to SIMPLE. This action breaks the log chain. -> Let's say the DBA/Developer changed the Recovery model at 6pm and the data owner at 8pm requests to recover the data to 7pm. Based on the transaction log chain principles the database would only be able to be recovered up to the last transaction log backup before the Recovery Model change at 6pm.


That's all in this post. If you liked this blog and interested in knowing more about SQL Server, Please Like, Follow, Share & Subscribe to www.ImJhaChandan.com .

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page