[ https://issues.apache.org/jira/browse/HIVE-23032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060441#comment-17060441 ]
Denys Kuzmenko edited comment on HIVE-23032 at 3/16/20, 8:28 PM: ----------------------------------------------------------------- [~pvary], same for MySQL, however for Oracle/Postgres it gives better performance. *postgres:9.3* (4 tables x 1800 partitions) {code} batch insert lockReq: {count=200, sum=720917, min=1790, average=3604.585000, max=6952} total: {count=200, sum=430610, min=749, average=2153.050000, max=5913} batch insert+ reWriteBatchedInserts lockReq: {count=200, sum=488272, min=1370, average=2441.360000, max=3813} total: {count=200, sum=283623, min=667, average=1418.115000, max=2780} Multi-row insert lockReq: {count=200, sum=771952, min=1853, average=3859.760000, max=7817} total: {count=200, sum=455352, min=768, average=2276.760000, max=5880} {code} was (Author: dkuzmenko): [~pvary], same for MySQL, however for Oracle/Postgres it gives better performance. *PostgreSQL* (4 tables x 1800 partitions) {code} batch insert lockReq: {count=200, sum=720917, min=1790, average=3604.585000, max=6952} total: {count=200, sum=430610, min=749, average=2153.050000, max=5913} batch insert+ reWriteBatchedInserts lockReq: {count=200, sum=488272, min=1370, average=2441.360000, max=3813} total: {count=200, sum=283623, min=667, average=1418.115000, max=2780} Multi-row insert lockReq: {count=200, sum=771952, min=1853, average=3859.760000, max=7817} total: {count=200, sum=455352, min=768, average=2276.760000, max=5880} {code} > 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 > > > 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)