A huge transaction log file has a named reason in log_reuse_wait_desc. This post builds a small demo database, reads that reason, backs up the log and finds the open transaction that holds it. It ends with a one time shrink and a safe growth step.
SQL SERVER – Backup to URL – Script to Generate Credential and Backup using Shared Access Signature (SAS)
Backup to URL can connect to Azure storage with a SAS token. I share a script that generates the credential and the backup command using a Shared Access Signature.
How to Find Last Full Backup Time and Size for Database? – Interview Question of the Week #173
Too many DBAs I meet have no recent backup. Here is a script that shows when each database had its last Full Backup and how big that backup was.






