cdc log growth

  • All,

    I have cdc enabled on a Sql Server 2012 database that is a primary db in transactional replication and the primary in a availability group. The log file is a little over 95 GB, a historic high. I have the cdc._cleanup job running every 5 minutes. We have a weekly full backup, nightly differentials, and transaction logs that run every 15 minutes. The default retention time for cdc is still set for 72 hours. I am not able to shrink the log. Any suggestions?

    Thanks,

    DK

  • Did you check dbcc sqlperf('logspace ') ? what amount of log is filled

    [font="Tahoma"]
    --SQLFRNDZ[/url]
    [/font]

  • Thanks for the reply. It is 92% full.

  • Sounds like the cleanup job is not running properly.

    You should also check your cdc capture job and make sure it is running without error as well.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • SELECT name, log_reuse_wait_desc FROM sys.databases?


    Alex Suprun

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply