tidb性能测试otpl

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
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ppok!

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值