Rate This Document
Findability
Accuracy
Completeness
Readability

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

  1. Go to a directory, for example, /home.
    cd /home
  2. Check the SST file of the target database.
    ls /home/rocksdb/rkdb

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

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