hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23103) Oracle statement batching
Date Tue, 21 Apr 2020 04:02:00 GMT

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

Hive QA commented on HIVE-23103:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13000574/HIVE-23103.11.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17134 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_llap_counters1] (batchId=57)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/21812/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21812/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21812/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13000574 - PreCommit-HIVE-Build

> Oracle statement batching
> -------------------------
>
>                 Key: HIVE-23103
>                 URL: https://issues.apache.org/jira/browse/HIVE-23103
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-23103.02.patch, HIVE-23103.03.patch, HIVE-23103.04.patch, HIVE-23103.05.patch,
HIVE-23103.06.patch, HIVE-23103.07.patch, HIVE-23103.08.patch, HIVE-23103.09.patch, HIVE-23103.10.patch,
HIVE-23103.11.patch, HIVE-23103.patch
>
>
> Examine how to really get better performance for oracle statement batches.
> [Oracle JDBC doc|https://docs.oracle.com/cd/E11882_01/java.112/e16548/oraperf.htm#JJDBC28752]
describes:
> {quote}The Oracle implementation of standard update batching does not implement true
batching for generic statements and callable statements. Even though Oracle JDBC supports
the use of standard batching for {{Statement}} and {{CallableStatement}} objects, you
are unlikely to see performance improvement.
> {quote}
> I would look for connection properties to set, so it is handled anyway, or if not, then
use:
> {code}
> begin
>   query1;
>   query2;
>   query3;
> end;
> {code}
> to we will have only a single roundtrip for the db.



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

Mime
View raw message