修改workloada配置中的recordcount、operationcount、readproportion和updateproportion。其中:
准备数据
- ./bin/ycsb load mongodb -s -P workloads/workloada -p mongodb.url=mongodb://ip:port/ycsb?w=0 -threads xx > outputLoad.txt
压测性能
- ./bin/ycsb run mongodb -s -P workloads/workloada -p mongodb.url=mongodb://ip:port/ycsb?w=0 -threads xx > outputRun.txt