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

Range bytes counts and keys count #368

Open
amirouche opened this issue Nov 25, 2021 · 1 comment
Open

Range bytes counts and keys count #368

amirouche opened this issue Nov 25, 2021 · 1 comment

Comments

@amirouche
Copy link

amirouche commented Nov 25, 2021

It will be useful to have:

  1. Count of bytes:
    a. The count of bytes in keys in a given range
    b. The count of bytes in key-value pairs in a given range
  2. The count of keys in given range

That allows to control how much memory will be used (e.g. slice transactions into manageable ranges), but also avoid the need to implement statistics at user level, to be able to optimize query plans.

@amirouche
Copy link
Author

Having estimates instead of exact value could be enough.

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

No branches or pull requests

2 participants