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 454B4200BC4 for ; Wed, 12 Oct 2016 02:04:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43C58160AE6; Wed, 12 Oct 2016 00:04:22 +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 8A261160AF3 for ; Wed, 12 Oct 2016 02:04:21 +0200 (CEST) Received: (qmail 41305 invoked by uid 500); 12 Oct 2016 00:04:20 -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 41277 invoked by uid 99); 12 Oct 2016 00:04:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2016 00:04:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9209E2C4C71 for ; Wed, 12 Oct 2016 00:04:20 +0000 (UTC) Date: Wed, 12 Oct 2016 00:04:20 +0000 (UTC) From: "Ruslan Dautkhanov (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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: Wed, 12 Oct 2016 00:04:22 -0000 [ https://issues.apache.org/jira/browse/SQOOP-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15567026#comment-15567026 ] Ruslan Dautkhanov commented on SQOOP-3022: ------------------------------------------ Hi [~maugli], Thank you for pointing to addBatch() and executeBatch() - I totally agree if sqoop is using them, there is no much value in supporting a separate INSERT ALL syntax. It probably would be around the same performance then. Thanks again, Ruslan > 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)