hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-17340) TxnHandler.checkLock(Connection dbConn, long extLockId) optimization
Date Thu, 17 Aug 2017 01:08:00 GMT
Eugene Koifman created HIVE-17340:
-------------------------------------

             Summary: TxnHandler.checkLock(Connection dbConn, long extLockId) optimization
                 Key: HIVE-17340
                 URL: https://issues.apache.org/jira/browse/HIVE-17340
             Project: Hive
          Issue Type: Improvement
          Components: Transactions
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman


This calls acquire(Connection dbConn, Statement stmt, long extLockId, LockInfo lockInfo)
for each lock in the same DB transaction - 1 Update stmt per acquire().
There is no reason all of them cannot be sent in 1 statement if all the locks are granted

With a lot of partitions this can be a perf issue



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message