Eugene Koifman created HIVE-21154: ------------------------------------- Summary: Investigate using object IDs in Acid HMS schema instead of names Key: HIVE-21154 URL: https://issues.apache.org/jira/browse/HIVE-21154 Project: Hive Issue Type: New Feature Components: Transactions Affects Versions: 1.0.0 Reporter: Eugene Koifman
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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)