scan 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
- View data in the SST file.
sst_dump --file=/home/rocksdb/rkdb/000004.sst --command=scan
The scanning result is as follows:
from [] to [] Process /home/rocksdb/rkdb/000004.sst Sst file format: block-based 'k1' seaq:1. type:1 => vi
Parent topic: Examples