简体   繁体   中英

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.

Anyone can help me?

This should do the trick (before starting the insert)

SET session rocksdb_bulk_load=1;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM