Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.1, 3.2.0
Description
Currently, every query in HS2 results in a metastore call per database to retrieve all materialized views. This causes severe performance degradation on multi-tenant clusters with thousands of databases (very similar to how the old get_function() metastore call didn't scale).
We should add a metastore call which can retrieve all materialized view definitions at once (for all DBs) so that we don't have to make thousands of metastore calls per query.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-15436 Enhancing metastore APIs to retrieve only materialized views
- Closed
- links to