Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A536B200B96 for ; Thu, 6 Oct 2016 22:41:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A3F99160AF0; Thu, 6 Oct 2016 20:41:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 00674160AC5 for ; Thu, 6 Oct 2016 22:41:22 +0200 (CEST) Received: (qmail 89764 invoked by uid 500); 6 Oct 2016 20:41:22 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 89679 invoked by uid 99); 6 Oct 2016 20:41:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 20:41:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AFEFB2C0D52 for ; Thu, 6 Oct 2016 20:41:21 +0000 (UTC) Date: Thu, 6 Oct 2016 20:41:21 +0000 (UTC) From: "Attila Szabo (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SQOOP-3022) sqoop export for Oracle generates tremendous amounts of redo logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Oct 2016 20:41:23 -0000 [ https://issues.apache.org/jira/browse/SQOOP-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553116#comment-15553116 ] Attila Szabo edited comment on SQOOP-3022 at 10/6/16 8:40 PM: -------------------------------------------------------------- Hi [~Tagar], I'd like to kindly ask a bit more input from you here: Are +APPEND and +APPEND_VALUES totally unrelated, or do they somehow connected together? Is +APPEND is only good for reducing the redo logs? The reason why I'm asking is that OraOop feature of Sqoop right now has an option which uses the +APPEND_VALUES hint for inserting data. So if it is not unrelated maybe that code path would be also good for you (sadly I was not able to find out from the official Oracle docs, if +APPEND_VALUES also reduce the redo log size (I do understand it's working on the direct path insert too). One plus information here: On SQOOP-2983 right now we're working on fixing the insert performance of OraOop so if that solution would be good for you it would make sense first waiting for that JIRA ticket to be closed. Thanks for your answer in advance! [~maugli] was (Author: maugli): Hi [~Tagar], I'd like to kindly ask a bit more input from you here: Is +APPEND and +APPEND_VALUES are totally unrelated? Is +APPEND is only good for reducing the redo logs? The reason why I'm asking is that OraOop feature of Sqoop right now has an option which uses the +APPEND_VALUES hint for inserting data. So if it is not unrelated maybe that code path would be also good for you (sadly I was not able to find out from the official Oracle docs, if +APPEND_VALUES also reduce the redo log size (I do understand it's working on the direct path insert too). One plus information here: On SQOOP-2983 right now we're working on fixing the insert performance of OraOop so if that solution would be good for you it would make sense first waiting for that JIRA ticket to be closed. Thanks for your answer in advance! [~maugli] > sqoop export for Oracle generates tremendous amounts of redo logs > ----------------------------------------------------------------- > > Key: SQOOP-3022 > URL: https://issues.apache.org/jira/browse/SQOOP-3022 > Project: Sqoop > Issue Type: Bug > Components: codegen, connectors, connectors/oracle > Affects Versions: 1.4.3, 1.4.4, 1.4.5, 1.4.6 > Reporter: Ruslan Dautkhanov > Labels: export, oracle > > Sqoop export for Oracle generates tremendous amounts of redo logs (comparable to export size or more). > We have put target tables in nologgin mode, but Oracle will still generate redo logs unless +APPEND Oracle insert hint is used. > See https://oracle-base.com/articles/misc/append-hint for examples. > Please add an option for sqoop to generate insert statements in Oracle with APPEND statement. Our databases are swamped with redo/archived logs whenever we sqoop data to them. This is easily avoidable. And from business prospective sqooping to staging tables in nologgin mode is totally fine. > Thank you. -- This message was sent by Atlassian JIRA (v6.3.4#6332)