apache drill应用程序执行时间太长

mpgws1up  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(186)

我在hbase中存储数据,它有350万条记录。我使用apachedrill java应用程序来查询这个hbase数据,但是简单的查询需要3分钟才能完成。
我分配了drill\u direct\u memory=10gb和drill\u heap=8gb。如何获得快速查询性能?为了获得更好的性能,我是否遗漏了任何配置或更改?
这是我的示例查询:
选择convert_from(row_key,'utf8')作为row_key,convert_from(social_data_nlp.details.user_name,'utf8')作为user_name,to_char(cast(social_data_nlp.details.created_time as timestamp),'yyyy:mm:dd hh:mm:ss')从hbase.social\u data\u nlp where cast创建的时间(social\u data\u nlp.details.created\u time as date)>日期\u sub(当前日期,1) and(social_data_nlp.details.searched_keyword='fire'或social_data_nlp.details.searched_keyword='incident'或social_data_nlp.details.searched_keyword='karnataka'或social_data_nlp.details.user_name='aajtak')and cast(social_data_nlp.details.keyword_search as boolean)=按社会_data_nlp.details.created的真实顺序\偏移量0;

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题