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

Read entire delete RID bitmap into memory for faster deleted RID detection #23

Open
greenlion opened this issue Jul 21, 2020 · 0 comments
Labels
BETA3 Target for beta #3 enhancement New feature or request performance Issue is related to storage engine performance

Comments

@greenlion
Copy link
Owner

greenlion commented Jul 21, 2020

Right now the deleted rid bitmap is read in in 8 byte chunks. That is a lot of fread() calls (even though the OS should buffer the reads). A table with 64 million rows only takes 8MB of space to store the bitmap entirely in ram, so it makes sense to read the whole thing in and just point ->bits to the proper offset in the buffer.

@greenlion greenlion added enhancement New feature or request performance Issue is related to storage engine performance labels Jul 23, 2020
@greenlion greenlion added the BETA3 Target for beta #3 label Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BETA3 Target for beta #3 enhancement New feature or request performance Issue is related to storage engine performance
Projects
None yet
Development

No branches or pull requests

1 participant