TUNING
This topic describes options you can use with the Compact server task.
In each table, the first column lists the options as they appear when you run Compact using the Task -> Start tool or the Files tab in the Domino® Administrator. The second column lists the equivalent command-line options that you use when you run Compact using a console command or using a Program document.
Compact - Basics
Table 1. Basics
(To specify databases to compact using the Files tab, select the databases in the files pane.)
Specify any additional options after the database path.
If you select Compact all databases (or do not specify a database path at the command line), Compact compacts all databases in the data folder and in folders within the data folder.
Compact - Options
Table 2. Options
Compact - Style
Table 3. Style
Example: -IDS_FULL 80 creates replica only after 80% of space for IDs in original application is full.
Example: -REN_WAIT 10 allows 10 minutes for compact process to complete replication and synchronization to attempt renaming.
Compact - Advanced
The advanced compact options are not available through the Compact tool in the Files tab of the Domino Administrator.
Note: Select Set advanced properties before you enable or disable any of these properties.
Table 4. Advanced
Note: the -ZU option is not compatible with DAOS-enabled databases. To use this option for attachments in a DAOS-enabled database:
1. Disable DAOS for the database:
3. Re-enable DAOS for the database:
Note: To compress or decompress existing design elements or non-summary document data, combine either the -n, -N, -v, or -V switch with the copy-style switch (-c). For example, to compress existing non-summary data in a database at the same time as enabling the property to compress new document data, use this combination:
-v -c
Compact - Archive
When you use the document archiving tool to archive and delete documents in a database, you can use the listed Compact options to archive documents if the database is located on a server and you've chosen the basic archiving option Domino server based.
For more information on the server archiving option, see the topic Specifying the computers where archiving runs and where the archive is stored in HCL Notes® Help.
Note: The Compact tool in the Files tab of the Domino Administrator provides only the option Archive database; this option archives and then compacts.
Tip: See the Compact - DAOS table for another combination of archiving, compaction, and attachment consolidation.
Table 5. Archive
Compact - DAOS
In addition to enabling the Domino Attachment and Object Service (DAOS) property to consolidate new attachments in a database, you can use the listed Compact options to move attachments in existing documents into the DAOS repository while performing a copy-style compact of either a normal or archive database. This option is not available for in-place compaction.
Note: This combination of compact options works only on newly created, not existing, archive databases.
Table 6. DAOS
Compact - Move views out of database
You can use the listed Compact option to store view indexes separately if Store view indexes in NIFNSF is enabled in the NIFNSF tab of the Server document. This option is not available for in-place compaction. For more information, see Moving view indexes out of databases.
Note: This compact option works only on databases that have an on-disk structure (ODS) of 51 or later.
Table 7. Move views out of database
Compact - Replication
Table 8. Replication
Related concepts Compacting databases Domino on-disk structure (ODS) Attachment consolidation
Related tasks Ways to compact databases Running Compact using a console command Moving view indexes out of databases
Related reference Database properties that optimize database performance