You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Marton Bod (Jira)" <ji...@apache.org> on 2020/04/01 09:44:00 UTC
[jira] [Updated] (HIVE-23067) Use batch DB calls in TxnHandler for
commitTxn and abortTxns
[ https://issues.apache.org/jira/browse/HIVE-23067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Bod updated HIVE-23067:
------------------------------
Attachment: HIVE-23067.2.patch
> Use batch DB calls in TxnHandler for commitTxn and abortTxns
> ------------------------------------------------------------
>
> Key: HIVE-23067
> URL: https://issues.apache.org/jira/browse/HIVE-23067
> Project: Hive
> Issue Type: Improvement
> Reporter: Marton Bod
> Assignee: Marton Bod
> Priority: Major
> Attachments: HIVE-23067.1.patch, HIVE-23067.1.patch, HIVE-23067.1.patch, HIVE-23067.1.patch, HIVE-23067.2.patch, HIVE-23067.2.patch
>
>
> To reduce the number of database calls and network roundtrips, we could use more batching in TxnHandler, where currently in many places we call insert commands in loops sequentially.
> Some examples:
> * openTxns (TXNS, REPL_TXN_MAP)
> * commitTxn (COMPLETED_TXN_COMPONENTS)
> * replTableWriteIdState (TXN_TO_WRITE_ID)
> * allocateTableWriteIds (TXN_TO_WRITE_ID)
> * ....
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)