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: seek performance #3550
Labels
Projects
Comments
If you provide the iterator stats after performing the seek, we can tell you where the slowness is coming from. The returned |
OK, here is some logs to show the iterator stats info.
|
It seems that the cost of BlockReadDuration fluctuates greatly, ranging from of 5 us to 6ms.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to seek LT a key In a pebble DB which is about 600G. The code is as follows. I tested that the seek overhead takes about 1.5ms, which seems a bit slow. Is there any way to improve the performance of seek ?
pebble.Iterator.SeekLT(key)
The text was updated successfully, but these errors were encountered: