Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ROCKSDB Failed to acquire lock due to rocksdb_max_row_locks

I'm trying to load a CSV in to my rocksdb database, but it fails and show me this error:

Got error 10 'Operation aborted:Failed to acquire lock due to rocksdb_max_row_locks limit' from ROCKSDB

I've tried with SET SESSION rocksdb_max_row_locks=1073741824; but same error always.

What can I try to fix this?

like image 633
rogarui Avatar asked Dec 13 '25 03:12

rogarui


1 Answers

This should do the trick (before starting the insert)

SET session rocksdb_bulk_load=1;

like image 119
Roy Avatar answered Dec 14 '25 17:12

Roy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!