You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2017/12/10 19:05:04 UTC

[jira] [Created] (HIVE-18259) Automatic cleanup of invalidation cache for materialized views

Jesus Camacho Rodriguez created HIVE-18259:
----------------------------------------------

             Summary: Automatic cleanup of invalidation cache for materialized views
                 Key: HIVE-18259
                 URL: https://issues.apache.org/jira/browse/HIVE-18259
             Project: Hive
          Issue Type: Improvement
          Components: Materialized views
    Affects Versions: 3.0.0
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


HIVE-14498 introduces the invalidation cache for materialized views, which keeps track of the transactions executed on a given table to infer whether materialized view contents are outdated or not.

Currently, the cache keeps information of transactions in memory to guarantee quick response time, i.e., quick resolution about the view freshness, at query rewriting time. This information can grow large, thus we would like to run a thread that cleans useless transactions from the cache, i.e., transactions that do invalidate any materialized view in the system, at an interval defined by a property.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)