| 1. |
Does Impala Use Caching? |
|
Answer» Impala does not cache table data. It does cache some table and file metadata. Although queries MIGHT run faster on subsequent iterations because the data set was cached in the OS buffer cache, Impala does not explicitly CONTROL this. Impala takes advantage of the HDFS caching feature in CDH 5. You can designate which tables or PARTITIONS are cached through the CACHED and UNCACHED clauses of the CREATE TABLE and ALTER TABLE statements. Impala can also TAKE advantage of data that is pinned in the HDFS cache through the hdfscacheadmin COMMAND. Impala does not cache table data. It does cache some table and file metadata. Although queries might run faster on subsequent iterations because the data set was cached in the OS buffer cache, Impala does not explicitly control this. Impala takes advantage of the HDFS caching feature in CDH 5. You can designate which tables or partitions are cached through the CACHED and UNCACHED clauses of the CREATE TABLE and ALTER TABLE statements. Impala can also take advantage of data that is pinned in the HDFS cache through the hdfscacheadmin command. |
|