-
Notifications
You must be signed in to change notification settings - Fork 451
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
db: wire virtual sstable space amp data structure in the compaction picker #2323
Comments
Datastructure changes for this are present in #2352. |
bananabrick
changed the title
db: test and implement compaction picking heuristics for virtual sstables
db: wire virtual sstable space amp data structure in the compaction picker
Mar 28, 2023
sumeerbhola
added a commit
to sumeerbhola/pebble
that referenced
this issue
Mar 1, 2024
When we consider a virtual sst as a candidate for the seed file for a compaction, the size of that sst is adjusted by a fraction of the garbage in the backing sst, where the fraction is the reciprocal of the number of virtual ssts that are referencing this backing sst. The objective is to reduce space amp, by being aware of garbage accumulation, when picking compactions. Fixes cockroachdb#2323
sumeerbhola
added a commit
to sumeerbhola/pebble
that referenced
this issue
Mar 3, 2024
When we consider a virtual sst as a candidate for the seed file for a compaction, the size of that sst is adjusted by a fraction of the garbage in the backing sst, where the fraction is the reciprocal of the number of virtual ssts that are referencing this backing sst. The objective is to reduce space amp, by being aware of garbage accumulation, when picking compactions. Fixes cockroachdb#2323
sumeerbhola
added a commit
that referenced
this issue
Mar 5, 2024
When we consider a virtual sst as a candidate for the seed file for a compaction, the size of that sst is adjusted by a fraction of the garbage in the backing sst, where the fraction is the reciprocal of the number of virtual ssts that are referencing this backing sst. The objective is to reduce space amp, by being aware of garbage accumulation, when picking compactions. Fixes #2323
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the details here for how the
VirtualizedSize
field should be used for compaction picking.The text was updated successfully, but these errors were encountered: