結果中tps,qps,(r/w/o),lat 等它們值的計算標準或者計算規則是怎樣的?
```
root@jing-OptiPlex-5070:/usr/share/sysbench# sysbench ./oltp_read_write.lua --mysql-host=localhost --mysql-user=root --mysql-password=abc123 --mysql-port=3306 --mysql-db=test --mysql-socket=/data/mysql.sock --db-driver=mysql --tables=10 --table-size=1000 --threads=8 --time=10 --report-interval=2 run
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 8
Report intermediate results every 2 second(s)
Initializing random number generator from current time
Initializing worker threads...
Threads started!
[ 2s ] thds: 8 tps: 5754.59 qps: 120915.86 (r/w/o: 86379.32/23021.86/11514.68) lat (ms,95%): 1.79 err/s: 1.50 reconn/s: 0.00
[ 4s ] thds: 8 tps: 5299.57 qps: 111333.90 (r/w/o: 79532.00/21200.27/10601.63) lat (ms,95%): 2.11 err/s: 2.50 reconn/s: 0.00
[ 6s ] thds: 8 tps: 5115.51 qps: 107451.62 (r/w/o: 76755.09/20464.02/10232.51) lat (ms,95%): 2.18 err/s: 1.50 reconn/s: 0.00
```
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/195466.html
標籤:MySQL
下一篇:R語言plot引數二次更改
