您好,登錄后才能下訂單哦!
下面一起來了解下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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。