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

ChangeTracking auto cleanup problem

$
0
0

I use ChangeTracking in SQL 2012 and IsAutoCleanup is true. But my settings have no effect on the actual situation. I put 1 hour, 5 hours, 10 minutes, 2 minutes, 40 minutes, but the cleaning is always carried out in about 2 days. Sometime earlier, sometime later, but not even about my settings. In what could be the problem? Settings accurately exposed, check out this:

select * from sys.change_tracking_databases where database_id=8

database_id is_auto_cleanup_on retention_period retention_period_units retention_period_units_desc                                  max_cleanup_version
----------- ------------------ ---------------- ---------------------- ------------------------------------------------------------ --------------------
8           1                  1                2                      HOURS                                                       NULL

And that less cleaning occurred in 2 days.



Viewing all articles
Browse latest Browse all 12963

Trending Articles



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