Rate This Document
Findability
Accuracy
Completeness
Readability

readrandom

  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 read data from the existing database.
    ./db_bench --benchmarks="readrandom,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, readrandom shows the performance data.