设为首页 加入收藏

TOP

sysbench对数据库进行压力测试(二)
2017-04-21 10:22:57 】 浏览:736
Tags:sysbench 数据库 进行 压力 测试
ads fairness:
    events (avg/stddev):          89250.0000/0.00
    execution time (avg/stddev):  9.9372/0.00


运行顺序重写测试:
sysbench fileio --file-total-size=40G --file-test-mode=seqrewr run
 
#测试结果:
 
File operations:
    reads/s:                      0.00
    writes/s:                    4018.65
    fsyncs/s:                    5131.38
Throughput:
    read, MiB/s:                  0.00
    written, MiB/s:              62.79
General statistics:
    total time:                          10.0003s
    total number of events:              91531
Latency (ms):
        min:                                  0.00
        avg:                                  0.11
        max:                                31.45
        95th percentile:                      0.10
        sum:                              9933.80
Threads fairness:
    events (avg/stddev):          91531.0000/0.00
    execution time (avg/stddev):  9.9338/0.00


混合随机读/写:(如果执行出错,需要重新prepare数据)
sysbench fileio --file-total-size=40G --file-test-mode=rndrw  --max-time=100 --max-requests=0 run
#测试结果:
 
File operations:
    reads/s:                      338.98
    writes/s:                    225.99
    fsyncs/s:                    722.23
 
Throughput:
    read, MiB/s:                  5.30
    written, MiB/s:              3.53
 
General statistics:
    total time:                          100.0007s
    total number of events:              128727
 
Latency (ms):
        min:                                  0.00
        avg:                                  0.78
        max:                                43.01
        95th percentile:                      2.97
&

首页 上一页 1 2 3 4 下一页 尾页 2/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇MySQL同实例下复制表的2种方法 下一篇CentOS7.2下安装MySQL

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目