Rate This Document
Findability
Accuracy
Completeness
Readability

overwrite

  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. Overwrite the existing database.
    ./db_bench --benchmarks="overwrite,stats"  --use_existing_db=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, overwrite shows the performance data, and Compaction Stats shows the summary information.