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

Calculate and maintain collection size and row count #1019

Open
efirs opened this issue Apr 11, 2023 · 1 comment
Open

Calculate and maintain collection size and row count #1019

efirs opened this issue Apr 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@efirs
Copy link
Collaborator

efirs commented Apr 11, 2023

  • Add a machinery for low overhead atomic increment
  • Add a KV layer with statistics calculation on write APIs.
  • Use the same KV layer for calculation of standalone search (so as we persist it in FDB as well)
  • Maintain separate set of atomics at query_runner level to calculate inline search size statistics.

They APIs which doesn't have enough information in the request itself (replace,delete), will read the value first.
We can apply various optimization, like reading first chunk only and not unmarshalling/decompressing the payload.

@efirs efirs added this to Tigris Apr 11, 2023
@efirs efirs converted this from a draft issue Apr 11, 2023
@himank
Copy link
Collaborator

himank commented May 3, 2023

@efirs should we close this?

@himank himank added the enhancement New feature or request label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants