Home > Database > Mysql Tutorial > body text

MySQL 压力测试工具_MySQL

WBOY
Release: 2016-06-01 13:52:11
Original
826 people have browsed it

<strong class="command">mysqlslap 是一个压力测试的工具</strong><strong class="command"></strong>
Copy after login
<strong class="command">用法:</strong>
Copy after login
<strong class="command"> </strong><p style="display: inline !important;" class="programlisting">shell> <strong class="userinput"><code>mysqlslap [<em class="replaceable"><code>options</code></em>]</code></strong></p>
Copy after login
<p style="display: inline !important;" class="programlisting"><strong class="userinput"><code>一些选项例如 <code class="option">--create 或者 <code class="option">--query 让你用来指定一个SQL语句或者包含SQL语句的文件</code></code></code></strong></p>
Copy after login
<b>mysqlslap分三个阶段:<br /></b>
Copy after login
<b>1.创造模式,表,并且选择任何要存储的你要测试的程序或数据。这一阶段采用单一的客户端连接。</b>
Copy after login
<b>2.运行负荷试验。这一阶段可以使用许多客户端连接。</b>
Copy after login
<b>3.清理(断开,删除表如果说明)。这一阶段采用单一的客户端连接。</b>
Copy after login
<b>参数设置:http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html</b>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!