Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The TAB_COL_STATS table is missing an index on (CAT_NAME, DB_NAME, TABLE_NAME). The getTableColumnStatistics call queries based on this tuple. This makes those queries take a significant amount of time in large metastores since they do a full table scan.
Attachments
Attachments
Issue Links
- is blocked by
-
HIVE-19323 Create metastore SQL install and upgrade scripts for 3.1
- Closed
- relates to
-
HIVE-19310 Metastore: MetaStoreDirectSql.ensureDbInit has some slow DN calls which might need to be run only in test env
- Closed