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: HPE 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:20001/DRECOMPACT

This index action uses port `20001` to compact HPE Content Component, which is located on a machine with the IP address `12.3.4.56`.

## Parameters

Parameter | Description | Required
--- | --- | ---
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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm