~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to man/mysqlslap.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

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: 07/06/2010
 
5
.\"      Date: 12/16/2011
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBMYSQLSLAP\FR" "1" "07/06/2010" "MySQL 5\&.1" "MySQL Database System"
 
10
.TH "\FBMYSQLSLAP\FR" "1" "12/16/2011" "MySQL 5\&.1" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
155
155
[mysqlslap]
156
156
and
157
157
[client]
158
 
option file groups\&.
 
158
groups of an option file\&.
159
159
\fBmysqlslap\fR
160
160
also supports the options for processing option files described at
161
161
Section\ \&4.2.3.3.1, \(lqCommand-Line Options that Affect Option-File Handling\(rq\&.
189
189
\fB\-\-auto\-generate\-sql\fR,
190
190
\fB\-a\fR
191
191
.sp
192
 
Generate SQL statements automatically when they are not supplied in files or via command options\&.
 
192
Generate SQL statements automatically when they are not supplied in files or using command options\&.
193
193
.RE
194
194
.sp
195
195
.RS 4
251
251
.\" auto-generate-sql-load-type option: mysqlslap
252
252
\fB\-\-auto\-generate\-sql\-load\-type=\fR\fB\fItype\fR\fR
253
253
.sp
254
 
Specify the test load type\&. The allowable values are
 
254
Specify the test load type\&. The permissible values are
255
255
read
256
256
(scan tables),
257
257
write
400
400
.sp -1
401
401
.IP \(bu 2.3
402
402
.\}
 
403
.\" mysqlslap: create-and-drop-schema option
 
404
.\" create-and-drop-schema option: mysqlslap
 
405
\fB\-\-create\-and\-drop\-schema=\fR\fB\fIvalue\fR\fR
 
406
.sp
 
407
The schema in which to run the tests\&.
 
408
\fBmysqlslap\fR
 
409
drops the schema at the end of the test run\&. This option was added in MySQL 5\&.1\&.57\&.
 
410
.RE
 
411
.sp
 
412
.RS 4
 
413
.ie n \{\
 
414
\h'-04'\(bu\h'+03'\c
 
415
.\}
 
416
.el \{\
 
417
.sp -1
 
418
.IP \(bu 2.3
 
419
.\}
403
420
.\" mysqlslap: create-schema option
404
421
.\" create-schema option: mysqlslap
405
422
\fB\-\-create\-schema=\fR\fB\fIvalue\fR\fR
406
423
.sp
407
424
The schema in which to run the tests\&. This option was added in MySQL 5\&.1\&.5\&.
 
425
.if n \{\
 
426
.sp
 
427
.\}
 
428
.RS 4
 
429
.it 1 an-trap
 
430
.nr an-no-space-flag 1
 
431
.nr an-break-flag 1
 
432
.br
 
433
.ps +1
 
434
\fBNote\fR
 
435
.ps -1
 
436
.br
 
437
If the
 
438
\fB\-\-auto\-generate\-sql\fR
 
439
option is also given,
 
440
\fBmysqlslap\fR
 
441
drops the schema at the end of the test run\&. To avoid this, use the
 
442
\fB\-\-create\-and\-drop\-schema\fR
 
443
option instead\&.
 
444
.sp .5v
 
445
.RE
408
446
.RE
409
447
.sp
410
448
.RS 4
486
524
\fB\-\-delimiter=\fR\fB\fIstr\fR\fR,
487
525
\fB\-F \fR\fB\fIstr\fR\fR
488
526
.sp
489
 
The delimiter to use in SQL statements supplied in files or via command options\&.
 
527
The delimiter to use in SQL statements supplied in files or using command options\&.
490
528
.RE
491
529
.sp
492
530
.RS 4
700
738
\fB\-\-pipe\fR,
701
739
\fB\-W\fR
702
740
.sp
703
 
On Windows, connect to the server via a named pipe\&. This option applies only if the server supports named\-pipe connections\&.
 
741
On Windows, connect to the server using a named pipe\&. This option applies only if the server supports named\-pipe connections\&.
704
742
.RE
705
743
.sp
706
744
.RS 4
746
784
.\" shared-memory-base-name option: mysqlslap
747
785
\fB\-\-shared\-memory\-base\-name=\fR\fB\fIname\fR\fR
748
786
.sp
749
 
On Windows, the shared\-memory name to use, for connections made via shared memory to a local server\&. This option applies only if the server supports shared\-memory connections\&.
 
787
On Windows, the shared\-memory name to use, for connections made using shared memory to a local server\&. This option applies only if the server supports shared\-memory connections\&.
750
788
.RE
751
789
.sp
752
790
.RS 4
761
799
.\" post-system option: mysqlslap
762
800
\fB\-\-post\-system=\fR\fB\fIstr\fR\fR
763
801
.sp
764
 
The string to execute via
 
802
The string to execute using
765
803
system()
766
804
after the tests have completed\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.21\&.
767
805
.RE
793
831
.\" pre-system option: mysqlslap
794
832
\fB\-\-pre\-system=\fR\fB\fIstr\fR\fR
795
833
.sp
796
 
The string to execute via
 
834
The string to execute using
797
835
system()
798
836
before running the tests\&. This execution is not counted for timing purposes\&. This option was added in MySQL 5\&.1\&.21\&.
799
837
.RE
831
869
.\" protocol option: mysqlslap
832
870
\fB\-\-protocol={TCP|SOCKET|PIPE|MEMORY}\fR
833
871
.sp
834
 
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the allowable values, see
 
872
The connection protocol to use for connecting to the server\&. It is useful when the other connection parameters normally would cause a protocol to be used other than the one you want\&. For details on the permissible values, see
835
873
Section\ \&4.2.2, \(lqConnecting to the MySQL Server\(rq\&.
836
874
.RE
837
875
.sp
919
957
.sp
920
958
Options that begin with
921
959
\fB\-\-ssl\fR
922
 
specify whether to connect to the server via SSL and indicate where to find SSL keys and certificates\&. See
 
960
specify whether to connect to the server using SSL and indicate where to find SSL keys and certificates\&. See
923
961
Section\ \&5.5.6.3, \(lqSSL Command Options\(rq\&.
924
962
.RE
925
963
.sp
994
1032
.SH "COPYRIGHT"
995
1033
.br
996
1034
.PP
997
 
Copyright \(co 1997, 2010, Oracle and/or its affiliates. All rights reserved.
 
1035
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
998
1036
.PP
999
1037
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
1000
1038
.PP