- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
mysql的几款性能测试工具使用介绍(Several performance testing tools for MySQL are introduced)
mysql的几款性能测试工具使用介绍(Several performance testing tools for MySQL are introduced)
MySQL tools for several performance tests
Recently, due to comparing the performance of MySQL and its branch MariaDB and percona, several tools have been learned, including: mysqlslap, sysbench, tpcc-mysql, a collation, a memorandum, and sharing
Mysqlslap
Installation: simple, loaded with MySQL will have
Role: simulation, concurrency testing, database performance.
Advantages: simple and easy to use.
Insufficient: not specified data size, the testing process is not clear in stage one hundred thousand or one million data to do the test, the feeling was not suitable to the comprehensive test, more suitable for existing database, optimize the test for a single sql.
Usage method:
You can use the mysqlslap --help to display how you use it:
Default, options, are, read, from, the, following, files, in,, the, given, order:
/etc/mysql/f /etc/f ~/.f
--concurrency stands for concurrent numbers, multiple can be separated by commas, concurrency=10,50100, concurrent connections, threads are 10, 50, and 100 concurrent.
The --engines represents the engine to be tested and can be separated by separators.
--iterations stands for how many times you run these tests.
--auto-generate-sql represents testing with the SQL scripts generated by the system itself.
--auto-generate-sql-load-type stands for reading or writing, or update (read, write, mixed)
--number-of-queries stands for how many queries to run in total. The number of queries running per client can be calculated by the total number of queries / concurrent numbers.
--debug-info stands for additional output, CPU, and memory related information.
--number-int-cols: create the number of int fields for the test table
--auto-generate-sql-add-autoincrement: automatically adds auto_increment columns to the generated table, starting with the 5.1.18 version
--number-char-cols creates the number of char fields for the test table.
Schema in --create-schema test, sch
您可能关注的文档
- dcl-2计算书(Dcl-2 statement).doc
- dbc修改详解(DBC modification detail).doc
- db2维护手册(DB2 maintenance manual).doc
- debug 用法(Debug usage).doc
- db性能指标(DB performance index).doc
- dedecms模版制作使用方法(Dedecms template production method of use).doc
- deh伺服阀故障原因分析(Failure analysis of DEH servo valve).doc
- dede 标签(dede 标签).doc
- delphi opengl 三维隧道(OpenGL三维隧道).doc
- delll错误代码(Delll error code).doc
- n79常见问题及解决办法(N79 common problems and Solutions).doc
- nagios安装与配置全过程详细经过(Nagios installation and configuration, detailed process).doc
- nanya内存颗粒编号代表什么意思(What does the Nanya memory particle number mean).doc
- nature设计更有效的抗hiv抗体(Nature designing more effective anti HIV antibodies).doc
- nba08补丁安装位置教程(NBA08 patch installation location tutorial).doc
- nba与中国篮球(NBA and Chinese basketball).doc
- nb常见故障排除方法(Common troubleshooting methods for NB).doc
- netop school多媒体教室的安装设置及使用(Installation, installation and use of NetOp school multimedia classroom).doc
- ncis第一二季(NCIS the first two seasons).doc
- nit练习题(nit练习题).doc
最近下载
- 1.1_犬的起源、进化与特征.ppt VIP
- 2024高考语文考前精刷卷专题十四文学类文本阅读散文.docx VIP
- 大学语文之诗经电子教案.doc VIP
- 高校生活超市和24小时便利店租赁经营投标常用方案(最全).doc VIP
- 15J001 围墙大门图集标准.docx VIP
- 双向搅拌桩加固高速公路软土地基现场对比试验研究.pdf VIP
- 铁道概论:铁路信号和通信PPT教学课件.pptx VIP
- 《医学微生物学》课件——细菌的形态与结构.ppt VIP
- 贵州丹寨金汞矿日处理500吨(一期250吨)金汞原矿浮选生产线技改项目环境影响报告书.pdf VIP
- 大一新生班干部竞选演讲稿PPT.pptx VIP
文档评论(0)