Adjust Database Generation Numbers

Any time you load a database for recovery, you may be required to change the database generation number, as instructed in the recovery procedure you are using.

Each primary database in a replication system includes a database generation number. This number is stored both in the database and in the RSSD of the Replication Server that manages the database.

The maximum value for the database generation number is 65,535. Sybase recommends that you avoid incrementing the number to high values unless absolutely necessary.

If you want to reset the database generation number, you must rebuild the replication environment. Rebuilding the environment includes deleting the connection to the primary database where you want to reset the database generation number, recreating the connection, and then rebuilding the replication configuration of the primary database.