impala、hive之parquet表性能测试

前提条件说明:impala已打通hive元数据,测试表格式为parquet

建表性能测试

一、impala
建表SQL

create table temp.ad_impala stored as parquet as select ymd,username,udid,result,requesttime,positions,logid,productname,systemname from ods.bdl_bigdata_online_ad where ymd>=calc_date(4);

在这里插入图片描述

  • 1亿多条数据,耗时28s

二、hive测试
建表SQL

create table temp.ad_hive stored as parquet as select ymd,username,udid,result,requesttime,positions,logid,productname,systemname from ods.bdl_bigdata_online_ad where ymd>=date_sub(current_date(),4);

在这里插入图片描述
同数据量情况下,耗时134s

查询性能测试


版权声明:本文为qq_43151441原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。