Currently my db logs for my production SQL Server 2008 R2 server is growing out of control:
- DATA file: D:\Data...\MyDB.mdf = 278859 MB on disk
- LOG file: L:\Logs...\MyDB_1.ldf = 394542 MB on disk
The server mentioned above has daily backups scheduled @1am & translog backups every 15 min.
The database is replicated in full recovery model to a subscriber. Replciation is pushed from the node above (publisher). That same db log file on the subscriber is ~< 100 GB on disk.
What I did to try and fix:
- Run a full backup of the db (takes 1h:47m)
- Run the translog backup job which runs every 15 min. (takes 1m:20s)
- Run another full backup of the db
Nothing above has worked so I then attempt to shrink the log files which doesn't work either using DBCC SHRINKFILE. The size doesn't ever change.
Can anyone please tell me what is wrong or what I need to do as a SQL Server DBA to resolve the above issue?