[ 
https://issues.apache.org/jira/browse/HIVE-23032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068029#comment-17068029
 ] 

Denys Kuzmenko commented on HIVE-23032:
---------------------------------------

[~pvary], I am not following why should I have (intLockId - 1)? it's 0 at the 
beginning, and after it's being incremented in a loop with (intLockId % 
batchSize == 0) check. 

> Add batching in Lock generation
> -------------------------------
>
>                 Key: HIVE-23032
>                 URL: https://issues.apache.org/jira/browse/HIVE-23032
>             Project: Hive
>          Issue Type: Improvement
>          Components: Locking
>            Reporter: Denys Kuzmenko
>            Assignee: Denys Kuzmenko
>            Priority: Major
>         Attachments: HIVE-23032.1.patch, HIVE-23032.2.patch, 
> HIVE-23032.3.patch, HIVE-23032.4.patch, HIVE-23032.5.patch, 
> HIVE-23032.6.patch, HIVE-23032.7.patch, HIVE-23032.8.patch
>
>
> Replace multi-row insert in Oracle with batching. Performance tests showed 
> significant performance improvement after turning batching on.



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

Reply via email to