readwhilemerging
- Go to the directory where the tool is stored.
cd /home/rocksdb-6.10.2
- Run the following command to perform the performance test.
./db_bench --benchmarks="readwhilemerging,stats" --merge_operator=put

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, readwhilemerging shows the performance data.
In this scenario, the --merge_operator parameter needs to be added. The following figure shows the values of this parameter. For details, see the parameter description in the help information of db_bench.

Parent topic: Benchmark Test Scenarios