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

deleterandom

  1. Go to the directory where the tool is stored.
    cd /home/rocksdb-6.10.2
  2. Create a database and populate the database.
    ./db_bench --benchmarks="fillseq,stats"
  3. 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.