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
- 用mysqlslap壓測自定義sqlMySql
- MySQL壓測工具mysqlslap的介紹與使用MySql
- mysqlslap 負載模擬客戶端MySql負載客戶端
- 測試測試測試測試測試測試
- 測試—測試方法
- 測試測試用
- Flutter 學習之路 - 測試(單元測試,Widget 測試,整合測試)Flutter
- App測試、Web測試和介面測試一般測試流程APPWeb
- 測試面試-測試用例面試
- 介面測試測試流程
- 介面測試,負載測試,併發測試,壓力測試區別負載
- 測試CMS同步測試CMS同步測試CMS同步
- (一)效能測試(壓力測試、負載測試)負載
- 介面測試 - 引數測試
- Jmeter介面測試+效能測試JMeter
- 【軟體測試】——介面測試
- 微服務測試之介面測試和契約測試微服務
- 測試 之Java單元測試、Android單元測試JavaAndroid
- 黑盒測試、白盒測試與灰盒測試方法
- 功能測試、自動化測試、效能測試的區別
- 小白測試系列:介面測試與效能測試的區別
- 軟體測試中的功能測試和非功能測試
- API 測試 | 瞭解 API 介面測試 | API 介面測試指南API
- 測試——水杯的測試用例
- Burpsuite安全測試測試指導UI
- 軟體測試-測試計劃
- 單元測試,只是測試嗎?
- 測試平臺之介面測試
- 測試用例和測試方法
- 測試物件和測試級別物件
- 微服務測試之效能測試微服務
- 去測試化≠測試失業
- 黑盒測試和白盒測試
- 介面測試要測試什麼?
- 效能測試之測試指標指標
- 測試標題測試標題