Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

SQL Server Log File Is Huge

$
0
0

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:

  1. Run a full backup of the db (takes 1h:47m)
  2. Run the translog backup job which runs every 15 min. (takes 1m:20s)
  3. 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?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>