TiDB vs MySQL测试

1|0TiDB vs MySQL测试


1|1TiDB


硬盘占用

image-20230302102305864

image-20230302143431365

image-20230302143459105

image-20230302143617542

image-20230302143629568

image-20230302143706560

image-20230302143724222

image-20230303152135748

开始插入

image-20230302143011628

image-20230302143024728

image-20230302143040997

image-20230302143111003

image-20230302143840140

测试

Point select 测试命令

sysbench --config-file=config oltp_point_select --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230303161940996

Update index 测试命令

sysbench --config-file=config oltp_update_index --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230303163343905

Read-only 测试命令

sysbench --config-file=config oltp_read_only --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230303164727226

1|2MySQL


硬盘占用

![image-20230302143337380](./assets/image-20230302143337380.png

image-20230302152110691

测试

sysbench --config-file=node004_config oltp_point_select --tables=1 --table-size=100000000 run

image-20230302155813408

Point select 测试命令

sysbench --config-file=node004_config oltp_point_select --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230302164950275

Update index 测试命令

sysbench --config-file=node004_config oltp_update_index --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230302170115682

Read-only 测试命令

sysbench --config-file=node004_config oltp_read_only --tables=1 --table-size=100000000 --db-ps-mode=auto --rand-type=uniform run

image-20230303145344587


__EOF__

本文作者JessePinkMan
本文链接https://www.cnblogs.com/edclol/p/17282428.html
关于博主:评论和私信会在第一时间回复。或者直接私信我。
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
声援博主:如果您觉得文章对您有帮助,可以点击文章右下角推荐一下。您的鼓励是博主的最大动力!
posted @   edclol  阅读(39)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示