设为首页 收藏本站
查看: 1363|回复: 0

[经验分享] TiDB VS MariaDB10.1.19 Enterprise性能压测

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2017-1-3 08:45:58 | 显示全部楼层 |阅读模式
视频演示:
https://pan.baidu.com/s/1qYRMp7Q


工具sysbench0.5 128并发 10张表100万行
硬件配置R720 64G RAID10(15000转)

分别压测100秒

sysbench  --test=/root/soft/sysbench-0.5/sysbench/tests/db/oltp.lua --mysql-table-engine=innodb --oltp-table-size=1000000 --max-requests=0 --max-time=100 --num-threads=128 --oltp-tables-count=10 --report-interval=10 --mysql-host=192.168.143.244 --mysql-port=4000 --mysql-user=admin --mysql-password=159753  --mysql-db=test run

############################################
pd+tidb在一台机器部署 192.168.143.244
端口:4000

tikv两台 192.168.143.245/246
参数  
[rocksdb.defaultcf]
block-cache-size(30G)

[rocksdb.writecf]
block-cache-size(10G)

[rocksdb.raftcf]
block-cache-size(10G)


[  10s] threads: 128, tps: 823.93, reads: 11680.25, writes: 3313.20, response time: 363.02ms (95%), errors: 0.00, reconnects:  0.00
[  20s] threads: 128, tps: 781.00, reads: 10920.40, writes: 3117.30, response time: 368.50ms (95%), errors: 0.00, reconnects:  0.00
[  30s] threads: 128, tps: 780.20, reads: 10919.70, writes: 3118.60, response time: 366.96ms (95%), errors: 0.00, reconnects:  0.00
[  40s] threads: 128, tps: 728.80, reads: 10214.74, writes: 2920.51, response time: 371.27ms (95%), errors: 0.00, reconnects:  0.00
[  50s] threads: 128, tps: 672.90, reads: 9417.76, writes: 2690.39, response time: 393.23ms (95%), errors: 0.00, reconnects:  0.00
[  60s] threads: 128, tps: 617.00, reads: 8632.80, writes: 2469.40, response time: 418.37ms (95%), errors: 0.00, reconnects:  0.00
[  70s] threads: 128, tps: 610.20, reads: 8536.60, writes: 2434.20, response time: 413.39ms (95%), errors: 0.00, reconnects:  0.00
[  80s] threads: 128, tps: 634.50, reads: 8885.50, writes: 2544.10, response time: 413.76ms (95%), errors: 0.00, reconnects:  0.00
[  90s] threads: 128, tps: 676.30, reads: 9475.40, writes: 2707.20, response time: 392.52ms (95%), errors: 0.00, reconnects:  0.00
[ 100s] threads: 128, tps: 645.10, reads: 9031.90, writes: 2579.20, response time: 404.45ms (95%), errors: 0.00, reconnects:  0.00
############################################

MariaDB BP(30G)

[  10s] threads: 128, tps: 2678.24, reads: 37599.85, writes: 10720.26, response time: 70.10ms (95%), errors: 0.00, reconnects:  0.00
[  20s] threads: 128, tps: 2851.70, reads: 39931.01, writes: 11405.40, response time: 58.07ms (95%), errors: 0.00, reconnects:  0.00
[  30s] threads: 128, tps: 2846.10, reads: 39843.50, writes: 11384.70, response time: 58.52ms (95%), errors: 0.00, reconnects:  0.00
[  40s] threads: 128, tps: 2490.69, reads: 34935.71, writes: 9972.07, response time: 60.70ms (95%), errors: 0.00, reconnects:  0.00
[  50s] threads: 128, tps: 2354.21, reads: 32900.38, writes: 9411.82, response time: 123.50ms (95%), errors: 0.00, reconnects:  0.00
[  60s] threads: 128, tps: 2839.70, reads: 39745.05, writes: 11358.19, response time: 59.33ms (95%), errors: 0.00, reconnects:  0.00
[  70s] threads: 128, tps: 2854.40, reads: 39969.74, writes: 11416.48, response time: 58.03ms (95%), errors: 0.00, reconnects:  0.00
[  80s] threads: 128, tps: 2846.22, reads: 39841.44, writes: 11384.47, response time: 58.70ms (95%), errors: 0.00, reconnects:  0.00
[  90s] threads: 128, tps: 2334.59, reads: 32679.89, writes: 9338.67, response time: 76.75ms (95%), errors: 0.00, reconnects:  0.00
[ 100s] threads: 128, tps: 2843.30, reads: 39819.07, writes: 11374.99, response time: 59.16ms (95%), errors: 0.00, reconnects:  0.00



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-323011-1-1.html 上篇帖子: CentOS 7 卸载Apache mariadb php等方法 下篇帖子: corosync+pacemaker实验记录
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表