Name
mysqlslap
Synopsis
mysqlslap [options]database
This utility is used to emulate a load of multiple clients on the server to check the timing of the system. It’s available as of version 5.1.4 of MySQL.
mysqlslap options
--auto-generate-sql,-aIf you do not want to use or have a file containing SQL statements for testing the server, nor do you want to manually supply SQL statements from the command line, you can use this option to instruct the utility to automatically generate SQL to emulate a client load.
--compress,-CThis option compresses data passed between the utility and the server, if compression is supported.
--concurrency=,number-cnumberUse this option to specify the number of clients to simulate.
--create=valueThis option is used to specify a file or string to use for creating a table for use in testing.
--create-schema=valueThis option is used to specify a file or string containing a table schema to use for creating a table for use in testing.
--csv[=filename]This option returns data in a comma-separated value format. It will export the data to the standard output, unless a filename is given. Then it will save the information to that file.
--debug[=,options]-# [options]This option logs debugging information. The set of options used by default is
'd:t:o,logname'. See Table 16-1 at the end of the list of themysqldumputility options earlier in this chapter for an explanation of these flags and others that may be used.--debug-checkThis option writes debugging information to ...