You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2021/08/02 22:44:00 UTC

[jira] [Created] (HIVE-25413) Optimise ObjectStore::alterPartitions to reduce DB calls for getPartitions

Rajesh Balamohan created HIVE-25413:
---------------------------------------

             Summary: Optimise ObjectStore::alterPartitions to reduce DB calls for getPartitions
                 Key: HIVE-25413
                 URL: https://issues.apache.org/jira/browse/HIVE-25413
             Project: Hive
          Issue Type: Improvement
            Reporter: Rajesh Balamohan


[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L5121]

For dynamic load partitions (e.g when 1000s of parts being updated), it takes lot of time to fetch one partition at a time. It would be good to haveĀ  "List<MPartition> getMPartitions" to reduce number of interactions with DB.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)