cdr cleanstart

The cdr cleanstart command starts an server at the current log position and with empty queues.

Syntax


1  cdr cleanstart?  %Connect Option
 (1)
Notes:

Usage

The cdr cleanstart command starts an server, but first empties replication queues of pending transactions and directs the replication log snooper to start at the current log position, dismissing all transactions prior to this position. Use this command if synchronizing the server using the cdr sync command would be quicker than letting the queues process normally.

If an server was restored from a backup, but the restore did not include all log files from the replay position, or the system was not restored to the current log file, advance the log file unique ID past the latest log file unique ID prior to the restore, and then run the cdr cleanstart command followed by the cdr sync command to synchronize the server.

You can run this command from within an SQL statement by using the SQL administration API.