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

db_bench: new benchmark - seek to deleted ranges #200

Closed
Yuval-Ariel opened this issue Oct 24, 2022 · 0 comments · Fixed by #201
Closed

db_bench: new benchmark - seek to deleted ranges #200

Yuval-Ariel opened this issue Oct 24, 2022 · 0 comments · Fixed by #201
Assignees
Labels
enhancement New feature or request Upstreamable can be upstreamed to RocksDB
Milestone

Comments

@Yuval-Ariel
Copy link
Contributor

Owner: yuval

We need to test the performance when the user does delete of large range of keys (one after the other) and than calls seek to the first element in this range.

The test is:

create N ranges where each range is M long. - hash the prefix of each range so as not to be sequential in db. the range itself is sequential. 

then start deleting the ranges while simultaneously adding more ranges (same ranges as before). do this in the same thread, delete a whole range, then write a new range.

after deleting K ranges, start seeking to the beginning of the deleted ranges and time it. while still creating and deleting ranges.

@Yuval-Ariel Yuval-Ariel added enhancement New feature or request Upstreamable can be upstreamed to RocksDB labels Oct 24, 2022
@Yuval-Ariel Yuval-Ariel self-assigned this Oct 24, 2022
@Yuval-Ariel Yuval-Ariel linked a pull request Oct 24, 2022 that will close this issue
@isaac-io isaac-io added this to the v2.2.0 milestone Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Upstreamable can be upstreamed to RocksDB
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants