Reduce ERSSD File Size

Use sysadmin erssd with the defrag parameter to recover any unused space, shrink the ERSSD size, and rebuild the ERSSD database file.

When Replication Server deletes rows from the ERSSD, for example when Replication Server deletes exceptions from the exception log, the ERSSD database does not release the space back to the ERSSD filesystem. Therefore, you must defragment the ERSSD database to recover disk space.

The defrag parameter uses the dbunload SQL Anywhere command to rebuild the ERSSD.

Before defragmenting the ERSSD:

Executing sysadmin erssd, defrag:

  1. Shuts down eRSSD.

  2. Shuts down dbltm, the ERSSD Replication Agent, if dbltm is running.

  3. Calls dbunload to rebuild and defragment the ERSSD database file. dbunload saves the old transaction log as erssdName.olg in the transaction log directory.

  4. Restarts ERSSD.

The dREC recovery daemon restarts the dbltm for the ERSSD.

Note: During the defragmentation process, more files may be generated in the transaction log directory. Do not delete these files. Replication Server and dbltm will remove the files when the files are not needed.