denrepo

SQL ServerStorage

Transaction log usage and why it can't truncate

Log size and percent used for every database, then the reason each log can't be reused. LOG_BACKUP means log backups aren't running.

Not yet verified. How scripts are tested

b-mssql-log.sql
1DBCC SQLPERF(LOGSPACE);2 3SELECT name, recovery_model_desc, log_reuse_wait_desc4FROM sys.databases5ORDER BY name;

Paste it into your query tool.

Open in denrepo

More SQL Server scripts: Storage