Self-made pressure test example (pro test)

The sysbench version is sysbench 1.0.6

The following lua files vary depending on whether they are read or written, or mixed read and write

Mixed literacy

sysbench /usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=10.150.27.222 --mysql-port=3306 --mysql-user=test --mysql-password=test2019523 --mysql-db=test --oltp-tables-count=10 --oltp-table-size=500 --report-interval=10 --rand-init=on --max-requests=0   --oltp-read-only=off --max-time=120 --num-threads=128 --db-driver=mysql prepare
 
sysbench /usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=10.150.27.222 --mysql-port=3306 --mysql-user=test --mysql-password=test2019523 --mysql-db=test --oltp-tables-count=10 --oltp-table-size=500 --report-interval=10 --rand-init=on --max-requests=0   --oltp-read-only=off --max-time=120 --num-threads=128 --db-driver=mysql run
 
sysbench /usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=10.150.27.222 --mysql-port=3306 --mysql-user=test --mysql-password=test2019523 --mysql-db=test --oltp-tables-count=10 --oltp-table-size=500 --report-interval=10 --rand-init=on --max-requests=0   --oltp-read-only=off --max-time=120 --num-threads=128 --db-driver=mysql cleanup

The only update is the update_index.lua file

Published 44 original articles · 130 praises · 1.37 million views

Guess you like

Origin blog.csdn.net/gb4215287/article/details/104823010