COMPACT Command

You must always backup up your location and reset location logging (that is delete old location log files) after performing a COMPACT.

Note:

Never perform a COMPACT on a restored location before replaying log files. Compacting a location modifies the location table data and makes the old log files incompatible with the newly compacted location.