Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data file column tombstone cleanup #3482

Open
westonpace opened this issue Feb 26, 2025 · 0 comments
Open

Data file column tombstone cleanup #3482

westonpace opened this issue Feb 26, 2025 · 0 comments

Comments

@westonpace
Copy link
Contributor

With the addition of #2639 it is now possible to introduce tombstoned columns with merge_insert. A user reported that this led to a surprising amount of disk usage since the files with tombstones are still "active" (and won't be cleaned up) but the tombstoned data is redundant.

We could examine what percentage of a file is tombstoned and, if this is large (configurable threshold), we can rewrite the file and remove the tombstoned columns.

This can be run as part of cleanup or potentially compaction / optimize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant