Guest User

Untitled

a guest
Sep 13th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. cd /usr/share/sysbench
  2.  
  3. # Prepare the database for benchmarking
  4. sysbench --mysql-host=127.0.0.1 --mysql-port=3000 --mysql-user=maxuser --mysql-password=maxpwd --mysql-db=test \
  5. --threads=25 --time=30 --report-interval=5 --db-driver=mysql \
  6. ./oltp_read_write.lua prepare
  7.  
  8. # Run the benchmark
  9. sysbench --mysql-host=127.0.0.1 --mysql-port=3000 --mysql-user=maxuser --mysql-password=maxpwd --mysql-db=test \
  10. --threads=25 --time=30 --report-interval=5 --db-driver=mysql \
  11. ./oltp_read_write.lua run
Add Comment
Please, Sign In to add comment