Managing Archive Size

From InterBase
Jump to: navigation, search

Go Up to Journaling and Disaster Recovery

As the number of archived journal files grows, recovery time increases. To keep the archive from becoming too large, you can use any of the following options:

  • Run the gbak -archive_database command to create a new dump, thereby reducing the number of journal files InterBase needs to keep the archive up-to-date.
  • Run the gfix command to set a maximum number of dumps to allow in the archive:
gfix -archive_dumps <number> db_name
When the number of database dumps in the archive exceeds the <number> given, older dumps and journals will be deleted.
  • Run the gfix -archive_sweep command to manually control archive size (described below).