Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- contains
-
HIVE-18260 Add test case scenarios for materialized views invalidation cache and registry
- Closed
- is blocked by
-
HIVE-14498 Freshness period for query rewriting using materialized views
- Closed
- links to