tpc-ds测试tidb结果
2018-02-08 本文已影响0人
瑞_xlows
1.环境说明
(1)硬件环境:
3台机器
CPU:Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz 2U40核
MEM:256G
DISK:SSD
(2)软件环境:
tidb环境为3台机器,3tikv+3pd+1tidb
-- 1.1版本为1.1.0-alpha.1-77-g274a344
-- 1.0版本为1.0.7
tispark配置为1master+2slave,tidb-ansible对应版本
presto为0.168 presto-mysql
mysql版本为5.7.20,innodb_buffer_pool_size为180G
(3)测试说明:
测试工具为tpc-ds 2.7.0 scale为5
数据量如下:

2.测试结果及说明
(1)总结如下:
ANALYZE TABLE后1.1平均耗时为原耗时的80%,提升最大的SQL耗时仅为原来的45%
tidb1.1相比tidb1.0平均耗时为1.0耗时的50%,直接缩短一倍效率。。提升最大的SQL耗时仅为原来的18%
tidb1.1相比mysql平均耗时为mysql的40%,值得说明的是这个平均值是除去了很多mysql耗时10分钟以上的sql的,当然也有很多sql,mysql是优于tidb的
(2)详细如下:
1.图中tidb1.1表示tidb1.1版本的结果,tidb1.1A表示tidb1.1版本执行ANALYZE TABLE后的结果,tispark为tispark执行结果,presto为presto执行结果,tidb1.0为tidb1.0版本执行结果,mysql为mysql执行结果
2.如果没有柱状图表示执行结果耗时10分钟以上










