mysqlslap測試
其實我今天也是第一次用,還沒有很深入的瞭解這個工具的原理。
不過就下述而言,總體併發5,50,150是不錯的,10,20比較差。
dba-test-A1-104:/usr/local # mysqlslap -a --concurrency=5,10,20,50,150 --number-of-queries 100000 --debug-info
Benchmark
Average number of seconds to run all queries: 1053.520 seconds
Minimum number of seconds to run all queries: 1053.520 seconds
Maximum number of seconds to run all queries: 1053.520 seconds
Number of clients running queries: 5
Average number of queries per client: 20000
Benchmark
Average number of seconds to run all queries: 1354.247 seconds
Minimum number of seconds to run all queries: 1354.247 seconds
Maximum number of seconds to run all queries: 1354.247 seconds
Number of clients running queries: 10
Average number of queries per client: 10000
Benchmark
Average number of seconds to run all queries: 1221.182 seconds
Minimum number of seconds to run all queries: 1221.182 seconds
Maximum number of seconds to run all queries: 1221.182 seconds
Number of clients running queries: 20
Average number of queries per client: 5000
Benchmark
Average number of seconds to run all queries: 1016.130 seconds
Minimum number of seconds to run all queries: 1016.130 seconds
Maximum number of seconds to run all queries: 1016.130 seconds
Number of clients running queries: 50
Average number of queries per client: 2000
Benchmark
Average number of seconds to run all queries: 1012.727 seconds
Minimum number of seconds to run all queries: 1012.727 seconds
Maximum number of seconds to run all queries: 1012.727 seconds
Number of clients running queries: 150
Average number of queries per client: 666
User time 2473.98, System time 1242.23
Maximum resident set size 0, Integral resident set size 0
Non-physical pagefaults 156527636, Physical pagefaults 0, Swaps 0
Blocks in 0 out 0, Messages in 0 out 0, Signals 0
Voluntary context switches 106583066, Involuntary context switches 3655760
老外這篇文章挺好的
http://blogs.techrepublic.com.com/howdoi/?p=133
不過就下述而言,總體併發5,50,150是不錯的,10,20比較差。
dba-test-A1-104:/usr/local # mysqlslap -a --concurrency=5,10,20,50,150 --number-of-queries 100000 --debug-info
Benchmark
Average number of seconds to run all queries: 1053.520 seconds
Minimum number of seconds to run all queries: 1053.520 seconds
Maximum number of seconds to run all queries: 1053.520 seconds
Number of clients running queries: 5
Average number of queries per client: 20000
Benchmark
Average number of seconds to run all queries: 1354.247 seconds
Minimum number of seconds to run all queries: 1354.247 seconds
Maximum number of seconds to run all queries: 1354.247 seconds
Number of clients running queries: 10
Average number of queries per client: 10000
Benchmark
Average number of seconds to run all queries: 1221.182 seconds
Minimum number of seconds to run all queries: 1221.182 seconds
Maximum number of seconds to run all queries: 1221.182 seconds
Number of clients running queries: 20
Average number of queries per client: 5000
Benchmark
Average number of seconds to run all queries: 1016.130 seconds
Minimum number of seconds to run all queries: 1016.130 seconds
Maximum number of seconds to run all queries: 1016.130 seconds
Number of clients running queries: 50
Average number of queries per client: 2000
Benchmark
Average number of seconds to run all queries: 1012.727 seconds
Minimum number of seconds to run all queries: 1012.727 seconds
Maximum number of seconds to run all queries: 1012.727 seconds
Number of clients running queries: 150
Average number of queries per client: 666
User time 2473.98, System time 1242.23
Maximum resident set size 0, Integral resident set size 0
Non-physical pagefaults 156527636, Physical pagefaults 0, Swaps 0
Blocks in 0 out 0, Messages in 0 out 0, Signals 0
Voluntary context switches 106583066, Involuntary context switches 3655760
老外這篇文章挺好的
http://blogs.techrepublic.com.com/howdoi/?p=133
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/82392/viewspace-410225/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- mysqlslap 效能測試工具MySql
- mysqlslap壓力測試MySql
- MySQL 效能測試工具mysqlslapMySql
- mysqlslap壓力測試介紹MySql
- 壓力測試工具之mysqlslapMySql
- mysql效能測試工具之mysqlslap薦MySql
- Mysql5.1 - mysqlslap效能測試工具MySql
- MySQL基準壓力測試工具MySQLSlapMySql
- 用mysqlslap對MySQL進行壓力測試MySql
- mysqlslap 效能壓測MySql
- mysqlslap效能壓測MySql
- MySQL mysqlslap壓測MySql
- mysql之 mysql資料庫壓力測試工具(mysqlslap)MySql資料庫
- 用mysqlslap壓測自定義sqlMySql
- 官方壓測工具mysqlslap介紹及使用MySql
- MySQL壓測工具mysqlslap的介紹與使用MySql
- centos7中mysql自帶壓測工具mysqlslap使用CentOSMySql
- 測試測試測試測試測試測試
- App測試、Web測試和介面測試一般測試流程APPWeb
- 介面測試測試流程
- mysqlslap 負載模擬客戶端MySql負載客戶端
- Flutter 學習之路 - 測試(單元測試,Widget 測試,整合測試)Flutter
- 介面測試,負載測試,併發測試,壓力測試區別負載
- 黑盒測試、白盒測試、單元測試、整合測試、系統測試、驗收測試的區別與聯絡...
- 測試CMS同步測試CMS同步測試CMS同步
- (一)效能測試(壓力測試、負載測試)負載
- 認識軟體測試步測試測試 (轉)
- 測試面試-測試用例面試
- 【軟體測試】——介面測試
- 效能測試:分散式測試分散式
- Jmeter介面測試+效能測試JMeter
- 介面測試 - 引數測試
- 去測試化≠測試失業
- 微服務測試之介面測試和契約測試微服務
- 小白測試系列:介面測試與效能測試的區別
- 軟體測試中的功能測試和非功能測試
- API 測試 | 瞭解 API 介面測試 | API 介面測試指南API
- 測試 之Java單元測試、Android單元測試JavaAndroid