Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.0.0
-
None
-
None
Description
Currently all Acid related tables in HMS DB (HIVE_LOCKS, TXN_COMPONENTS, etc) use db_name/table_name/partition_name to identify the metastore object that is being tracked (these are potentially long strings, esp partition name. It would improve perf to use object ID such as TBLS.TBL_ID which is exposed in Thrift since HIVE-20556. It would also make handling object rename operations no-op (currently handled in TxnHandler.onRename() from AcidEventListener extends MetaStoreEventListener). This would require significant HMS schema changes and surfacing the ID of Database/Partition objects.
Need to think how this affects replication.
Attachments
Issue Links
- relates to
-
HIVE-20556 Expose an API to retrieve the TBL_ID from TBLS in the metastore tables
- Closed
-
HIVE-20198 Constant time table drops/renames
- Open