Compact a series file offline
Use the Series File Compaction tool to compact your series file and reduce its size on disk. This is useful for series files that grow quickly, for example, when series are frequently created and deleted.
To compact a series file:
Run the following command, including your data directory and WAL directory:
# Syntax influx_inspect buildtsi -compact-series-file -datadir <data_dir> -waldir <wal_dir> # Example influx_inspect buildtsi -compact-series-file -datadir /data -waldir /wal
(InfluxDB Enterprise only) On each data node:
- Complete steps 1-3.
- Wait for the hinted handoff queue (HHQ) to write all missed data to the node.
- Continue to the next data node.
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.