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.
1cd /home
- Check the SST file of the target database.
1ls /home/rocksdb/rkdb
- Dump the SST file blocks.
1sst_dump --file=/home/rocksdb/rkdb/000004.sst --command=raw

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

Parent topic: Examples