Skip to content

Instantly share code, notes, and snippets.

@inokappa
Created June 22, 2013 02:20
Show Gist options
  • Select an option

  • Save inokappa/5835577 to your computer and use it in GitHub Desktop.

Select an option

Save inokappa/5835577 to your computer and use it in GitHub Desktop.
#!/bin/bash
/usr/bin/mysqlslap \
--host=localhost \
--port=3306 \
--engine=innodb \
--auto-generate-sql \
--auto-generate-sql-load-type=read \
--auto-generate-sql-add-autoincrement \
--number-char-cols=3 \
--number-int-cols=5 \
--number-of-queries=10000 \
--concurrency=3 \
--iterations=10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment