Open topic with navigation

# DRECOMPACT

Allows you to reduce the space left when documents are deleted from the data index. The `DRECOMPACT` index action fills the space created through the document deletion with new documents. This process is similar to the de-fragmentation process.

After the compaction is complete, the index action recalculates the `SortField` information.

NOTE:

Micro Focus recommends that you back up IDOL Server before compacting it.

By default, the `DRECOMPACT` index action automatically copies the data index to the `internalbackup` directory in the IDOL Server data directory. To change this directory, set the PreCompactionBackup configuration parameter, or use the Backup index action parameter.

## Example

    http://12.3.4.56:9001/DRECOMPACT?

This index action compacts the data index.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Backup | Whether to perform a backup before compaction.
NodeTableCompactWindowKB | The maximum amount of extra disk space that the server can use to improve compaction.
Path | The path to the directory to save the backup to.
Type | Limits the compaction to only the `NodeTable` (document storage) stage.

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm