您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
下面一起来了解下mysql中自带压力测试工具mysqlslap介绍,相信大家看完肯定会受益匪浅,文字在精不在多,希望mysql中自带压力测试工具mysqlslap这篇短内容是你想要的。
测试
查询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这篇文章后,很多读者朋友肯定会想要了解更多的相关内容,如需获取更多的行业信息,可以关注我们的行业资讯栏目。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。