mysql数据库压力测试

sysbench --debug=off --test=oltp --mysql-host=127.0.0.1 --mysql-user=root --mysql-password='root3306' --oltp-table-size=500000 --mysql-db=test --oltp-table-name=sbtest --num-threads=50 --max-requests=10000 --oltp-auto-inc=off --mysql-engine-trx=yes prepare

sysbench --test=oltp --mysql-host=127.0.0.1 --mysql-user=root --mysql-password='root3306' --oltp-table-size=500000  --mysql-table-engine=innodb --mysql-db=test --oltp-table-name=sbtest --num-threads=16  run

猜你喜欢

转载自bestscw.iteye.com/blog/2346694