Skip to content

Instantly share code, notes, and snippets.

@tanji
Created August 14, 2015 09:38
Show Gist options
  • Save tanji/110691f022488d564563 to your computer and use it in GitHub Desktop.
Save tanji/110691f022488d564563 to your computer and use it in GitHub Desktop.
sysbench \
--test=/usr/share/doc/sysbench/tests/db/oltp.lua \
--mysql-host=localhost \
--mysql-port=3306 \
--mysql-user=root \
--mysql-password=admin \
--mysql-db=test \
--mysql-table-engine=innodb \
--mysql-ignore-errors=all \
--oltp-test-mode=complex \
--oltp-read-only=off \
--oltp-reconnect=on \
--oltp-tables-count=128 \
--oltp-table-size=10000 \
--max-requests=100000000 \
--num-threads=32 \
--report-interval=1 \
--report-checkpoints=10 \
--tx-rate=24 \
$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment