check 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 and verify its checksum.
sst_dump --file=/home/rocksdb/rkdb/000004.sst --command=check --verify_checksum
In the preceding command, 000004.sst is an example file name. Change it to the actual one.
[root@DC5-07-001 ~]# sst_dump --file=/home/rocksdb/rkdb/000004.sst --command=check --verify_checksum from [] to [] Process /home/rocksdb/rkdb/000004.sst Sst file format: block-based
Parent topic: Examples