I read about RocksDB admin tool "ldb" on https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool
But I could only find the ldb repo for leveldb: https://github.com/0x00A/ldb
After compiling ldb, I cannot run either command from the links provided.
$ ldb -i ./db
Corruption: VersionEdit: unknown tag
or
$ ldb --db=./db
In excecutable 'ldb':
Unrecognized flag/option '--db=./db'
Where can I get the correct ldb admin tool for RocksDB, so at least I can browse through my existing RocksDB?
Thanks,
The ldb tool for RocksDB is part of the code base: https://github.com/facebook/rocksdb/tree/main/tools
You can build it by following the instructions in INSTALL.md
and running make ldb
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With