From issues-return-186055-archive-asf-public=cust-asf.ponee.io@hive.apache.org Fri Apr 17 18:43:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2677E180647 for ; Fri, 17 Apr 2020 20:43:02 +0200 (CEST) Received: (qmail 52096 invoked by uid 500); 17 Apr 2020 18:43:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 52087 invoked by uid 99); 17 Apr 2020 18:43:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2020 18:43:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CE1F2E2D8D for ; Fri, 17 Apr 2020 18:43:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1E64A780320 for ; Fri, 17 Apr 2020 18:43:00 +0000 (UTC) Date: Fri, 17 Apr 2020 18:43:00 +0000 (UTC) From: "Peter Vary (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-23103) Oracle statement batching MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-23103?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Vary updated HIVE-23103: ------------------------------ Attachment: HIVE-23103.06.patch > 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.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/ora= perf.htm#JJDBC28752] describes: > {quote}The Oracle implementation of standard update batching does not imp= lement true batching for generic statements and callable statements. Even t= hough Oracle JDBC supports the use of standard batching for=C2=A0{{Statemen= t}}=C2=A0and=C2=A0{{CallableStatement}}=C2=A0objects, you are unlikely to s= ee performance improvement. > {quote} > I would look for connection properties to set, so it is handled anyway, o= r 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)