TSI currently compacts and removed tombstones from series file lookup maps but does not shrink the segment files. The SeriesFileCompactor should do both.
I'm re-opening this as this effort was never completed.
The main thing missing is compaction on series segment files. Currently they can grow unbounded with many new series created and many deletions. There is no way to reduce the size of the segments without a rebuild of the TSI indexes and Series File.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
don't close.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@benbjohnson Here's Edd's branch: https://github.com/influxdata/influxdb/tree/er-series-compact
This PR addresses the issue for the 1.8 release: https://github.com/influxdata/influxdb/pull/16542
Most helpful comment
I'm re-opening this as this effort was never completed.
The main thing missing is compaction on series segment files. Currently they can grow unbounded with many new series created and many deletions. There is no way to reduce the size of the segments without a rebuild of the TSI indexes and Series File.