免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1189 | 回复: 0
打印 上一主题 下一主题

sysbench测试MySQL例子 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-26 14:02 |只看该作者 |倒序浏览
sysbench --num-threads=100 --test=oltp run
sysbench v0.4.8:  multi-threaded system evaluation benchmark
No DB drivers specified, using mysql
WARNING: Preparing of "BEGIN" is unsupported, using emulation
(last message repeated 99 times)
Running the test with following options:
Number of threads: 100
Doing OLTP test.
Running mixed OLTP test
Using Special distribution (12 iterations,  1 pct of values are returned in 75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Maximum number of requests for OLTP test is limited to 10000
Threads started!
Done.
OLTP test statistics:
    queries performed:
        read:                            147854
        write:                           51211
        other:                           20561
        total:                           219626
    transactions:                        10000  (206.67 per sec.)
    deadlocks:                           561    (11.59 per sec.)
    read/write requests:                 199065 (4114.09 per sec.)
    other operations:                    20561  (424.94 per sec.)
Test execution summary:
    total time:                          48.3862s
    total number of events:              10000
    total time taken by event execution: 4831.1306
    per-request statistics:
         min:                            0.0180s
         avg:                            0.4831s
         max:                            2.9758s
         approx.  95 percentile:         1.0497s
Threads fairness:
    events (avg/stddev):           100.0000/5.95
    execution time (avg/stddev):   48.3113/0.05
报告中的内容还不是完全会看。算是一次尝试。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/25477/showart_221435.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP