-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
RocksDB#getLongProperty("rocksdb.estimate-num-keys") block long time (Java Lib) #12930
Comments
Hello @horizonzy thank you for reaching our community. Can you please describe your problem more. I wrote JMH test and I didn't notice any slowdown. Maybe if you can provide some sample code, or describe little bit more your setup(How many keys, average size of keys, values, ...). What times you see in your system ? Radek simple test results :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In our case, we count the Rocksdb keys number and put it into metrics. But we found that the method
db.getLongProperty("rocksdb.estimate-num-keys")
block for a long time.I want to know why this happens and what the workaround is for it. Thanks.
Rocksdb java lib version: org.rocksdb-rocksdbjni-7.9.2.jar
The text was updated successfully, but these errors were encountered: