huge log file
Just try this. select log_reuse_wait_desc,* from sys.databases where name='dbname' -- see what it is waiting on also run this dbcc sqlperf(logspace) -- see log space utilization If your recovery model is FULL, follow the below steps 1. Take a full database backup 2. Shrink the log file to an appropriate size 3. Take a full database backup again 4. Schedule transaction log backups to avoid such issues in the future This is a problem for two basic reasons. By default, new databases are created in full recovery mode AND by default, no one has set up log backups on your system. That means it’s up to you. You have to set up log backups. You have to set them and you have to schedule them and you have to ensure they run if you want to recover your database to a point in time, which is also known as, Full Recovery. Though this would have solved the problem, I'm still interested in showing what t-logs are upto actually. What is the Transaction Log? At its simplest,...