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

Have adaptable flush sizes histogram buckets (proportional to the flushes memtables for that cf / reason) #11

Open
udi-speedb opened this issue Jun 26, 2023 · 0 comments

Comments

@udi-speedb
Copy link
Contributor

The "Flushes" top level object has nested objects per cf, and, every cf has nested objects per flush reason.
Per cf/flush reason, there is a histogram of the number of flushes per size of flush. At the moment, these sizes are fixes (please see attached snapshot).
The proposal is to adapt the buckets of the histogram to the sizes of the memtables that were flushed in this cf and for that flush reason.
For example, if the max flush size for a cf + flush reason is 100mb then use that to create the buckets:
First bucket up to - 100 * 0.01 . second up up 100 * 0.05 , third 0.2 etc

Screenshot from 2023-06-26 17-25-43

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