compact_dataset
Reclaim disk space in a TDB2 dataset by compacting it to remove superseded data. Optionally delete the pre-compaction copy to free the most space.
Instructions
Compact a TDB2 dataset, reclaiming space held by superseded data.
Runs in the background; poll with task_status. delete_old removes the pre-compaction copy once it succeeds, which frees the most space and cannot be undone.
Only meaningful for TDB2 datasets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | Dataset name. Defaults to the configured one. | |
| delete_old | No | Delete the pre-compaction copy. Default false. |