Loading

SQL Server transaction log full

Microsoft Troubleshooting Guide

Common reasons for a full transaction log:
The appropriate response to a full transaction log depends on what conditions caused the log to fill. Common causes include:

  • Log not being truncated
  • Disk volume is full
  • Log size is set to a fixed maximum value or autogrow is disabled
  • Replication or availability group synchronization that is unable to complete

  • check the log disk usage and what action may casued logs unhealthy grow
# check log size
BCC SQLPERF(LOGSPACE)
GO
# check what kind of action casued log unhealthy grow
SELECT name, recovery_model_desc, log_reuse_wait,log_reuse_wait_desc FROM sys.databases
GO

posted @ 2022-06-16 09:03  Jas0n0ss  阅读(105)  评论(0编辑  收藏  举报