compact

The compact command enables you to run a compaction routine on all database files or selected files specified in the optional [file-list] argument.

If you want to compact multiple database files in parallel, specify the optional workers argument and the number of workers (greater than 1) that you require. If you do not specify the number of workers or you specify a number less than two workers, serial compact actions are performed.

Specify the optional nostatus argument if you do not want the status message displayed during the compaction operation.

When you specify the compact command, you cannot also specify the certify, delete, freeSpace, reindex, or resetTS command in the jdbutilb command line.

The syntax of the compact command in the jdbutilb command line is as follows.

jdbutilb path=database-path
         ini=initialization-file-name
         compact [workers=number-of-workers] [file-list]
         [nostatus]

For details, see "Compacting Files" and "Using the Compact Files Command", elsewhere in this document.