Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Transaction log usage grows due to replication even if I don't use replication at all

$
0
0

Hi

The transaction log usage keeps growing a lot on my user database since few days back. the database is in full recovery model and I do transaction log backups every 10 minutes. The DB was part of Database Mirroring but I removed it. The usage was controlled for many years by the backups but something happened that is messing up the transaction log

this is DBCC OPENTRAN

Transaction information for database 'MyDB'.

Replicated Transaction Information:
        Oldest distributed LSN     : (0:0:0)
        Oldest non-distributed LSN : (1450911:6823:1)
DBCC execution completed. If DBCC printed error messages, contact your system administrator.

log_reuse_wait_desc reports REPLICATION

the funny thing is that I am not using replication at all. I am using CDC.

To reduce the transaction log usage I run below statement every day since the problem started

EXEC sp_repldone @xactid = NULL, @xact_segno = NULL, 
    @numtrans = 0, @time = 0, @reset = 1

Any idea what should I do to solve this problem and be back on a normal situation?

BTW, The server is SQL 2012 (11.0.2383)

Thanks


Javier Villegas | @javier_villhttp://sql-javier-villegas.blogspot.com/

Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you


Viewing all articles
Browse latest Browse all 12963

Latest Images

Trending Articles



Latest Images

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