Reference
crab compact
Compact metadata and storage layers.
Synopsis
crab compact [OPTIONS]Description
crab compact compacts the metadata database and storage layers, merging
small files and removing tombstones for improved read performance.
For conceptual background, see Compacting Data.
Options
| Option | Default | Description |
|---|---|---|
--dry-run | false | Show what would be compacted |
--json | false | Emit structured JSON output |
Examples
crab compactRelated Commands
crab repack— repack xorbs.crab gc— garbage collection.