Skip to content

Instantly share code, notes, and snippets.

@dontstopbelieveing
Created December 12, 2018 20:20
Show Gist options
  • Save dontstopbelieveing/91a1fa1f13218cb41f54624a1049990c to your computer and use it in GitHub Desktop.
Save dontstopbelieveing/91a1fa1f13218cb41f54624a1049990c to your computer and use it in GitHub Desktop.
insert script for sysbench 1.0
./sysbench --test=tests/db/oltp.lua \
--mysql-host=$host \
--mysql-port=3306 \
--mysql-user=reinvent \
--mysql-password=reinvent \
--mysql-db=$db \
--mysql-table-engine=innodb \
--oltp-test-mode=complex \
--oltp-read-only=on \
--oltp-table-size=1000000 \
--oltp-tables-count=1 \
--num-threads=16 \
--max-requests=0 \
--rand-type=uniform \
--report-interval=10 \
--max-time=300 run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment