deleterandom
- Go to the directory where the tool is stored.
cd /home/rocksdb-6.10.2
- Create a database and populate the database.
./db_bench --benchmarks="fillseq,stats"
- Randomly delete data from the existing database.
./db_bench --benchmarks="deleterandom,stats" --use_existing_db=true \ --use_existing_keys=true

In the command output, Entries shows the data volume, Compression shows the compression type, Memtablerep shows the memory table type, DB path shows the database path, deleterandom shows the performance data, and Compaction Stats shows the summary information.
Parent topic: Benchmark Test Scenarios