我要评分
获取效率
正确性
完整性
易理解

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

  1. Go to a directory, for example, /home.
    cd /home
  2. 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