Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /usr/share/sysbench
- # Prepare the database for benchmarking
- sysbench --mysql-host=127.0.0.1 --mysql-port=3000 --mysql-user=maxuser --mysql-password=maxpwd --mysql-db=test \
- --threads=25 --time=30 --report-interval=5 --db-driver=mysql \
- ./oltp_read_write.lua prepare
- # Run the benchmark
- sysbench --mysql-host=127.0.0.1 --mysql-port=3000 --mysql-user=maxuser --mysql-password=maxpwd --mysql-db=test \
- --threads=25 --time=30 --report-interval=5 --db-driver=mysql \
- ./oltp_read_write.lua run
Add Comment
Please, Sign In to add comment