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
SQL SERVER - FIX: The Log for Database Cannot be Shrunk Until All Secondaries Have Moved Past the Point Where the Log was Added

SQL SERVER – FIX: The Log for Database Cannot be Shrunk Until All Secondaries Have Moved Past the Point Where the Log was Added

August 5, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Shrinking Database, SQL Error Messages, SQL Replication, SQL Server, Transaction Log

Shrinking a bloated AlwaysOn log gave me: the log cannot be shrunk until All Secondaries have moved past the point where the log was added. Here is the fix.

Read More
SQL SERVER management studio error.

SQL SERVER – Msg 1833 – File Cannot be Reused Until After the Next BACKUP LOG Operation

July 26, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

Adding a file during a demo failed with Msg 1833: file cannot be reused until after the next BACKUP LOG operation. Here is the root cause.

Read More
An open ledger on a dark workbench lit by a single red desk lamp

SQL SERVER – FIX : Error: 3456, Severity: 21 – Could not redo log record (xx:xx:xx), for transaction ID (x:xx), on page (x:xx), database ‘master’

May 31, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Transactions, Transaction Log

Could not redo log record in master, error 3456, and SQL Server would not start. How we rebuilt and recovered, and the backup that makes it simple.

Read More
An image depicting three growing plants.

SQL SERVER – My Thoughts – Autogrow of File ‘SQLAuth_Log’ in Database ‘SQLAuth’ was Cancelled by User or Timed Out After 30020 Milliseconds

May 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Transaction Log

Seeing ‘Autogrow of file was cancelled by user or timed out after 30020 milliseconds’ in the ERRORLOG? What it means, why it happens and what to do.

Read More
Performance Monitor Graph.

SQL SERVER – FIX : Msg 35295, Level 16 – Log Backup For Database ‘DBName’ on a Secondary Replica Failed

March 9, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL Mirroring, SQL Server, Transaction Log

During load testing, a log backup on a secondary replica failed with Msg 35295 because the last backup LSN was ahead of the redo LSN. Here is why.

Read More
SQL Authority recovery pending.

SQL SERVER – Unable to Attach Database – File Activation Failure – The Log Cannot be Rebuilt

November 4, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

A client lost the log drive and tried ATTACH_REBUILD_LOG, only to get a file activation failure: the log cannot be rebuilt. Here is why and what they could do.

Read More
A grain bin has a small occupied layer and much more available capacity above it

Identify Used Space in Log File- Interview Question of the Week #090

September 25, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server DBCC, Transaction Log

Question: How to identify Used Space in Log File?

Answer: Use following command to display used log file size and total used space in the log file.

Read More
Previous 1 … 4 5 6 7 8 9 10 … 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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