~james-page/ubuntu/precise/mysql-5.5/misc-fixes

« back to all changes in this revision

Viewing changes to man/mysqlslap.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-11 07:34:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120611073433-l9za2ni4ipp848y3
Tags: 5.5.24-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.24 to fix security issues (LP: #1011371)
  - http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBmysqlslap\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 03/02/2012
 
5
.\"      Date: 04/19/2012
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.5
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBMYSQLSLAP\FR" "1" "03/02/2012" "MySQL 5\&.5" "MySQL Database System"
 
10
.TH "\FBMYSQLSLAP\FR" "1" "04/19/2012" "MySQL 5\&.5" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
92
92
.PP
93
93
Examples:
94
94
.PP
95
 
Supply your own create and query SQL statements, with 50 clients querying and 200 selects for each:
 
95
Supply your own create and query SQL statements, with 50 clients querying and 200 selects for each (enter the command on a single line):
96
96
.sp
97
97
.if n \{\
98
98
.RS 4
99
99
.\}
100
100
.nf
101
 
mysqlslap \-\-delimiter=";" \e
102
 
  \-\-create="CREATE TABLE a (b int);INSERT INTO a VALUES (23)" \e
 
101
mysqlslap \-\-delimiter=";"
 
102
  \-\-create="CREATE TABLE a (b int);INSERT INTO a VALUES (23)"
103
103
  \-\-query="SELECT * FROM a" \-\-concurrency=50 \-\-iterations=200
104
104
.fi
105
105
.if n \{\
118
118
.RS 4
119
119
.\}
120
120
.nf
121
 
mysqlslap \-\-concurrency=5 \-\-iterations=20 \e
122
 
  \-\-number\-int\-cols=2 \-\-number\-char\-cols=3 \e
 
121
mysqlslap \-\-concurrency=5 \-\-iterations=20
 
122
  \-\-number\-int\-cols=2 \-\-number\-char\-cols=3
123
123
  \-\-auto\-generate\-sql
124
124
.fi
125
125
.if n \{\
140
140
.RS 4
141
141
.\}
142
142
.nf
143
 
mysqlslap \-\-concurrency=5 \e
144
 
  \-\-iterations=5 \-\-query=query\&.sql \-\-create=create\&.sql \e
 
143
mysqlslap \-\-concurrency=5
 
144
  \-\-iterations=5 \-\-query=query\&.sql \-\-create=create\&.sql
145
145
  \-\-delimiter=";"
146
146
.fi
147
147
.if n \{\
522
522
\fB\-\-default\-auth=\fR\fB\fIplugin\fR\fR
523
523
.sp
524
524
The client\-side authentication plugin to use\&. See
525
 
Section\ \&5.5.6, \(lqPluggable Authentication\(rq\&.
 
525
Section\ \&6.3.6, \(lqPluggable Authentication\(rq\&.
526
526
.sp
527
527
This option was added in MySQL 5\&.5\&.10\&.
528
528
.RE
721
721
prompts for one\&.
722
722
.sp
723
723
Specifying a password on the command line should be considered insecure\&. See
724
 
Section\ \&5.3.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
 
724
Section\ \&6.1.2.2, \(lqEnd-User Guidelines for Password Security\(rq\&. You can use an option file to avoid giving the password on the command line\&.
725
725
.RE
726
726
.sp
727
727
.RS 4
757
757
option is used to specify an authentication plugin but
758
758
\fBmysqlslap\fR
759
759
does not find it\&. See
760
 
Section\ \&5.5.6, \(lqPluggable Authentication\(rq\&.
 
760
Section\ \&6.3.6, \(lqPluggable Authentication\(rq\&.
761
761
.sp
762
762
This option was added in MySQL 5\&.5\&.10\&.
763
763
.RE
939
939
Options that begin with
940
940
\fB\-\-ssl\fR
941
941
specify whether to connect to the server using SSL and indicate where to find SSL keys and certificates\&. See
942
 
Section\ \&5.5.8.3, \(lqSSL Command Options\(rq\&.
 
942
Section\ \&6.3.8.3, \(lqSSL Command Options\(rq\&.
943
943
.RE
944
944
.sp
945
945
.RS 4