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

Optimize count(*) for append-only tables #4516

Closed
v0y4g3r opened this issue Aug 6, 2024 · 0 comments · Fixed by #4545
Closed

Optimize count(*) for append-only tables #4516

v0y4g3r opened this issue Aug 6, 2024 · 0 comments · Fixed by #4545
Assignees
Labels
C-enhancement Category Enhancements

Comments

@v0y4g3r
Copy link
Contributor

v0y4g3r commented Aug 6, 2024

What type of enhancement is this?

Performance

What does the enhancement do?

Since log tables are always "append-only", we can summarize total rows by simply adding all rows in memtables/sst files instead of scanning all rows.

Implementation challenges

No response

@v0y4g3r v0y4g3r added the C-enhancement Category Enhancements label Aug 6, 2024
@v0y4g3r v0y4g3r self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant