Hope someone can assist me here. I have a DB in mirror mode, i.e. DB on sql1 mirror to sql2 and obviously recovery model is 'Full', and the SQL version is SQL server 2019. Currently, my transaction log file is huge probably because I always run scheduled Database full backups and never ran transaction log backups. I have checked the DB's 'log_reuse_wait_desc
' and says LOG_BACKUP. So, I did the Transaction log backup and also made sure 'Truncate the transaction log' was selected. But that didn't reduce the transaction log file size. I took the transaction log back again but this time transaction log file size wasn't reduced immediately, was reduced a few days later. I did this in my lab environment a couple of times. In both instances, when I initiate the transaction log backup, took a few minutes to finish but the transaction log file size was reduced a few days later. I have checked the SQL Server logs & all I can see is log was backed-up. So my questions are,
- Why do I have to do twice transaction log backups to reduce transaction log file size?
- Why it's taking time to reduce transaction log file size? Is that because of the mirroring & How do I monitor the reduction?
Can you please assist with my queries? Thanks in advance.