Created
September 7, 2015 13:55
-
-
Save sergeycherepanov/0c45abbd2b395f5d87e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For Debian, sysbench is hard to beat. It's a simple 1-2-3: | |
Install | |
sudo apt-get install sysbench | |
Prepare | |
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword prepare | |
Benchmark | |
sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=yourrootsqlpassword --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment