Product SiteDocumentation Site

8.9. Deleting the Changelog

The changelog is a record of all modifications on a given replica that the supplier uses to replay these modifications to replicas on consumer servers (or suppliers in the case of multi-master replication). If a supplier server goes offline, it is important to be able to delete the changelog because it no longer holds a true record of all modifications and, as a result, should not be used as a basis for replication. After deleting the changelog, reinitialize the consumers and begin the replication process afresh. To delete the changelog, either remove it or move it to a new location.

8.9.1. Removing the Changelog

To remove the changelog from the supplier server, do the following:

NOTE

If the changelog is removed, the consumer servers must be reinitialized.

8.9.2. Moving the Changelog to a New Location

To delete the changelog while the server is still running and continuing to log changes, simply move the changelog to a new location. By moving the changelog, a new changelog is created in the specified directory, and the old changelog is deleted. Changing the location of the changelog requires consumer reinitialization.