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

Risk of enabling change tracking

$
0
0

Hi,

We are developing an application that requires change tracking.

We tested it in development and test environments and we are preparing our production deployment.

The very first thing that needs to be done is an

ALTERDATABASE [db_name] SETCHANGE_TRACKING=ON (CHANGE_RETENTION= 2 DAYS,AUTO_CLEANUP= ON)

We are holding on this first step because this statement alone executed for a good 4min on the development server. The production environment is many times larger and busier, and we can’t afford service disruption, so we are at the point where we need to understand what’s involved in running this ALTER DATABASE statement.

Is there any documentation on what is happening behind the scene when this statement executes such that we can assess the risks of running it in production?

Does anyone has experience, advice, best practices about enabling change tracking?


Viewing all articles
Browse latest Browse all 5123

Trending Articles



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