TiDB Sysbench 性能对比测试报告 - v6.1.0 对比 v6.0.0
//准备数据
sysbench oltp_common
–threads=16
–rand-type=uniform
–db-driver=mysql
–mysql-db=sbtest
–mysql-host=aws_nlb_host
–mysql-port=aws_nlb_port
–mysql-user=root
–mysql-password=password
prepare --tables=16 --table-size=10000000
//测试(记得填写对应信息)
sysbench \
--threads=900 \
--time=1200 \
--report-interval=1 \
--rand-type=uniform \
--db-driver=mysql \
--mysql-db=\
--mysql-host=\
--mysql-port=\
--mysql-user=\
--mysql-password=\
/usr/share/sysbench/oltp_update_non_index.lua\
run --tables=16 --table-size=10000000
//替换对应路径进行不同otpl测试
/usr/share/sysbench/oltp_update_index.lua
/usr/share/sysbench/oltp_read_write.lua
/usr/share/sysbench/oltp_point_select
//清除数据
sysbench oltp_common \
--threads=16 \
--rand-type=uniform \
--db-driver=mysql \
--mysql-db=\
--mysql-host=\
--mysql-port=\
--mysql-user=\
--mysql-password=\
cleanup --tables=16 --table-size=10000000
800

被折叠的 条评论
为什么被折叠?



