Skip to content

Check db indexes for in-order insertions #2401

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

Open
Tracked by #2259
Arkenan opened this issue Apr 4, 2025 · 0 comments
Open
Tracked by #2259

Check db indexes for in-order insertions #2401

Arkenan opened this issue Apr 4, 2025 · 0 comments

Comments

@Arkenan
Copy link
Collaborator

Arkenan commented Apr 4, 2025

Some db insertions in libmdbx are theoretically better if they are in order, specially if they are big batch insertions (e.g. on sync or block imports). We should measure if there are improvements in some examples by changing the indexing of the tables to something that can be in-order when batch-inserting, or if just sorting the elements by their index before inserting them.

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

1 participant