黑猴子的家:Kylin 快速入门之Hive 和 Kylin 性能对比

1、Hive查询

hive> select dname,sum(sal) from emp e join dept d on e.deptno = d.deptno group by dname;
Query ID = yinggu_20200206182830_de4886e0-02c9-4286-9eab-c9051f2680bc
Total jobs = 1
Execution log at: /tmp/yinggu/yinggu_20200206182830_de4886e0-02c9-4286-9eab-c9051f2680bc.log
2020-02-06 18:28:58     Starting to launch local task to process map join;      maximum memory = 477626368
2020-02-06 18:29:07     Dump the side-table for tag: 1 with group count: 4 into file: file:/tmp/yinggu/77548f6b-12a9-4ecf-b8c5-98f8ff460154/hive_2020-02-06_18-28-30_364_7879875538827550657-1/-local-10004/HashTable-Stage-2/MapJoin-mapfile11--.hashtable
2020-02-06 18:29:08     Uploaded 1 File to: file:/tmp/yinggu/77548f6b-12a9-4ecf-b8c5-98f8ff460154/hive_2020-02-06_18-28-30_364_7879875538827550657-1/-local-10004/HashTable-Stage-2/MapJoin-mapfile11--.hashtable (373 bytes)
2020-02-06 18:29:08     End of local task; Time Taken: 9.387 sec.
Execution completed successfully
MapredLocal task succeeded
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapreduce.job.reduces=<number>
Starting Job = job_1580972908133_0011, Tracking URL = http://hadoop103:8088/proxy/application_1580972908133_0011/
Kill Command = /opt/module/hadoop-2.8.2/bin/hadoop job  -kill job_1580972908133_0011
Hadoop job information for Stage-2: number of mappers: 1; number of reducers: 1
2020-02-06 18:29:38,164 Stage-2 map = 0%,  reduce = 0%
2020-02-06 18:29:47,695 Stage-2 map = 100%,  reduce = 0%, Cumulative CPU 1.59 sec
2020-02-06 18:29:58,386 Stage-2 map = 100%,  reduce = 100%, Cumulative CPU 3.72 sec
MapReduce Total cumulative CPU time: 3 seconds 720 msec
Ended Job = job_1580972908133_0011
MapReduce Jobs Launched: 
Stage-Stage-2: Map: 1  Reduce: 1   Cumulative CPU: 3.72 sec   HDFS Read: 13180 HDFS Write: 48 SUCCESS
Total MapReduce CPU Time Spent: 3 seconds 720 msec
OK
ACCOUNTING      8750.0
RESEARCH        10875.0
SALES   9400.0
Time taken: 94.225 seconds, Fetched: 3 row(s)

2、Kylin 查询

1)查询时间
9193428-1133ac78dc19ba8e.png
2)数据图表展示以及导出
9193428-f05430f6f5c0b5bf.png
3)图表展示之条形图
9193428-b166451a9f455de2.png
4)图表展示之饼图
9193428-70836cd4e5d4072b.png
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值