@andy2015
2018-08-16T08:35:19.000000Z
字数 2306
阅读 56
测试结果
220W数据量
count
select count(1) from mqm_test
hive:46.43s, drill: 44.377s
select count(1) from indexr_mqm_test
hive:47.681s, drill: 48.713s
group/count/orderby
select count(common_eventtype) from mqm_test group by common_eventtype
hive:51.535s, drill: 14.366s
select count(common_eventtype) from indexr_mqm_test group by common_eventtype
hive:38.1s, drill: 1.578s
select common_eventtype, common_eventdate, count(common_eventtype) from mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
hive: 66.256s, drill:23.856s
select common_eventtype, common_eventdate, count(common_eventtype) from indexr_mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
hive: 66.256s, drill:7.128s
2500W数据量
group/count/orderby
select count(common_eventtype) from mqm_test group by common_eventtype
drill: 67.938s
select count(common_eventtype) from indexr_mqm_test group by common_eventtype
drill: 7.207s
select common_eventtype, common_eventdate, count(common_eventtype) from mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:67.717s
select common_eventtype, common_eventdate, count(common_eventtype) from indexr_mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:8.055s
7000W数据量
group/count/orderby
select count(common_eventtype) from mqm_test group by common_eventtype
drill: 250.636s
select count(common_eventtype) from indexr_mqm_test group by common_eventtype
drill: 14.881s
select common_eventtype, common_eventdate, count(common_eventtype) from mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:252.804s
select common_eventtype, common_eventdate, count(common_eventtype) from indexr_mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:24.791s
1.5亿数据量
group/count/orderby
select count(common_eventtype) from mqm_test group by common_eventtype
drill: 250.636s
select count(common_eventtype) from indexr_mqm_test group by common_eventtype
drill: 35.126s
select common_eventtype, common_eventdate, count(common_eventtype) from mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:252.804s
select common_eventtype, common_eventdate, count(common_eventtype) from indexr_mqm_test group by common_eventtype, common_eventdate order by common_eventdate desc
drill:67.839s