compactDbFiles

compactDbFiles(dbFiles:        DbFileArray; 
               workers:        Integer; 
               workPath:       String; 
               updatesAllowed: Boolean);

The compactDbFiles method of the JadeDatabaseAdmin class compacts the files specified in the dbFiles parameter to optimize the use of storage and to reduce fragmentation.

The workers parameter enables you to specify the number of workers that you require. If you want to override the reorganization work and backup directories, specify a valid path in the workPath parameter. The updatesAllowed parameter specifies whether an updating or a read-only compact is performed.

See also the ReorgBackupDirectory and ReorgWorkDirectory parameters in the [JadeReorg] section of the JADE initialization file.