hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <>
Subject [jira] [Created] (HIVE-18259) Automatic cleanup of invalidation cache for materialized views
Date Sun, 10 Dec 2017 19:05:04 GMT
Jesus Camacho Rodriguez created HIVE-18259:

             Summary: Automatic cleanup of invalidation cache for materialized views
                 Key: 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

View raw message