十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
下面一起来了解下MySQL中自带压力测试工具mysqlslap介绍,相信大家看完肯定会受益匪浅,文字在精不在多,希望mysql中自带压力测试工具mysqlslap这篇短内容是你想要的。
成都创新互联公司是一家专业提供修文企业网站建设,专注与成都网站制作、成都网站设计、H5响应式网站、小程序制作等业务。10年已为修文众多企业、政府机构等服务。创新互联专业网站设计公司优惠进行中。
测试
查询300次,并发数50
mysqlslap -a -concurrency=50 --number-of-queries 300 -hlocalhost -uroot -proot
Benchmark Average number of seconds to run all queries: 19.286 seconds Minimum number of seconds to run all queries: 19.286 seconds Maximum number of seconds to run all queries: 19.286 seconds Number of clients running queries: 1 Average number of queries per client: 300 Benchmark Average number of seconds to run all queries: 16.868 seconds Minimum number of seconds to run all queries: 16.868 seconds Maximum number of seconds to run all queries: 16.868 seconds Number of clients running queries: 2 Average number of queries per client: 150 Benchmark Average number of seconds to run all queries: 13.614 seconds Minimum number of seconds to run all queries: 13.614 seconds Maximum number of seconds to run all queries: 13.614 seconds Number of clients running queries: 3Average number of queries per client: 100
看完mysql中自带压力测试工具mysqlslap这篇文章后,很多读者朋友肯定会想要了解更多的相关内容,如需获取更多的行业信息,可以关注我们的行业资讯栏目。