raw Command
Prerequisites
Before running following commands, create a target database or ensure that a database has been created. The following assumes that a database already exists.
Procedure
- Go to a directory, for example, /home.
cd /home
- Check the SST file of the target database.
ls /home/rocksdb/rkdb

- Dump the SST file blocks.
sst_dump --file=/home/rocksdb/rkdb/000004.sst --command=raw

- View the generated dump file.
ls /home/rocksdb/rkdb

Parent topic: Examples