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

Slow Pererformance in rocksdb::DB::Put method #10014

Closed
evgenisqream opened this issue May 18, 2022 · 2 comments
Closed

Slow Pererformance in rocksdb::DB::Put method #10014

evgenisqream opened this issue May 18, 2022 · 2 comments
Labels

Comments

@evgenisqream
Copy link

Dear RocksDB engineers. My company uses rocksdb database for storing kind of meta data. It was found that sometimes the method rocksdb::DB::Put may take several seconds. It happens randomly when during approaching to Put method with the same key. I tried to change paranoid_checks to false, but the issue still happens. Please assist. Thanks.

@jay-zhuang
Copy link
Contributor

You can check the log see if the write is stalled: https://github.com/facebook/rocksdb/wiki/Write-Stalls
There're different reasons for the write stall, based on that, you can increase the compaction throughput if compaction is unable to catchup, etc.

@yinciki
Copy link

yinciki commented Aug 25, 2022

You can check the log see if the write is stalled: https://github.com/facebook/rocksdb/wiki/Write-Stalls There're different reasons for the write stall, based on that, you can increase the compaction throughput if compaction is unable to catchup, etc.

I met similar problems when I constantly write kvs to rocksdb, when the db became larger, the Put procedure slowed down evidently. I checked the LOG and found no stalled related message which mentioned in the wiki. So it might not be of any kind of write stalls ? Any suggestions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants