Percona-Lab / sysbench-mongodb-lua

Apache License 2.0
14 stars 14 forks source link

sysbench-mongodb-lua

How to setup enviroment

Ubuntu Xenial(16.04)

./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017  --rand-type=pareto prepare

Running the test with following options: Number of threads: 10 Initializing random number generator from current time

Initializing worker threads...

Threads started!

General statistics: total time: 120.0106s total number of events: 100774

Latency (ms): min: 10.30 avg: 11.91 max: 25.85 95th percentile: 14.21 sum: 1199874.10

Threads fairness: events (avg/stddev): 10077.4000/30.69 execution time (avg/stddev): 119.9874/0.00

The metric is number of events(queries/transactions) per second: 100774/120 ~ 840 events per second