Quantcast
Viewing all articles
Browse latest Browse all 3435

Reply To: Hive index does not speed up the execution of queries

Hi Alena,

Indexing rarely yields much benefit in Hive as you found out. Instead, try converting the table into a format that has native indexing, such as Apache ORC:

First create the external as above. Then convert it:

CREATE DATABASE orc; USE orc;

CREATE TABLE avday_ind
STORED AS ORC
AS SELECT * FROM default.avday_ind;

You can read more about optimizing read performance in Hive here: http://hortonworks.com/blog/5-ways-make-hive-queries-run-faster/

Cheers,
JP


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>