Specifying the compact settings for a selected database

Use the Compact database dialog box to specify the compact settings for a selected database.


  1. From the Domino® Administrator, click Files.
  2. Select the database you want to compact, and on the Tools panel, expand Database, and select Compact.
    Table 1. Dialog box options



    Compact only if unused space is greater than

    Choose this option to compact the selected database only if the database has a specified percent of unused space. For example, if you specify 10 and the selected database has 10% or more recorded unused space, the database will be compacted.

    Discard any built view indexes

    Use this option to compact databases just before you store them on back up media. Discards built view indexes.

    Set maximum size of database to 4GB

    Use this option to limit the size of a compacted database to 4GB or less.

    Keep or revert database back to previous format

    Use this option to compact the selected database without converting to the current release file format of the server that stores the databases or use this option to revert databases in the current release file format back to the previous file format. For example, on Domino® 8 servers, this option compacts Domino® 7 databases without converting them to the Domino® 8 file format and converts Domino® 8 databases to the Domino® 7 file format. This option uses copy-style compacting.

    Archive database

    Use this option to archive and delete documents from the selected database and then compact the database.

    How should this database be compacted

    Choose one:

    • In-place (recommended) -- Uses in-place compacting and recovers unused space without reducing the file size unless there is a pending structural change to a database, in which case copy-style compacting occurs. This is the recommended method of compacting.
    • In-place with file size reduction -- Uses in-place compacting, recovers unused space and reduces file size unless there is a pending structural change. If there is a pending structural change, copy-style compacting occurs. If you use transaction logging, do full database backups after compacting completes.
    • Copy style -- Uses copy-style compacting. For example, use this option to solve database corruption problems. You can also activate one or both of these additional options:
    • Allow access while compacting -- Enables users to continue to access databases during compacting. If a user edits a database during compacting, compacting is canceled. This is useful only when copy-style compacting is done.
    • Ignore errors during compaction -- Enables compacting to continue even if it encounters errors such as document corruption. This option is used only for copy-style compacting.