From sqoop-dev-return-1200-apmail-incubator-sqoop-dev-archive=incubator.apache.org@incubator.apache.org Wed Nov 2 06:21:00 2011 Return-Path: X-Original-To: apmail-incubator-sqoop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-sqoop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BD359E3A for ; Wed, 2 Nov 2011 06:21:00 +0000 (UTC) Received: (qmail 28000 invoked by uid 500); 2 Nov 2011 06:20:59 -0000 Delivered-To: apmail-incubator-sqoop-dev-archive@incubator.apache.org Received: (qmail 27931 invoked by uid 500); 2 Nov 2011 06:20:57 -0000 Mailing-List: contact sqoop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sqoop-dev@incubator.apache.org Delivered-To: mailing list sqoop-dev@incubator.apache.org Received: (qmail 27922 invoked by uid 99); 2 Nov 2011 06:20:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 06:20:57 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 06:20:56 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 696EC32D2A8 for ; Wed, 2 Nov 2011 06:20:36 +0000 (UTC) Date: Wed, 2 Nov 2011 06:20:36 +0000 (UTC) From: "Shinichi Yamashita (Updated) (JIRA)" To: sqoop-dev@incubator.apache.org Message-ID: <1164676104.49525.1320214836433.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1625968259.49517.1320214233220.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SQOOP-387) Use TRUNCATE for PostgreSQLManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SQOOP-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shinichi Yamashita updated SQOOP-387: ------------------------------------- Attachment: SQOOP-387.patch Override migrateData and deleteAllRecords methods to use in staging-table. > Use TRUNCATE for PostgreSQLManager > ---------------------------------- > > Key: SQOOP-387 > URL: https://issues.apache.org/jira/browse/SQOOP-387 > Project: Sqoop > Issue Type: Improvement > Components: connectors/postgresql > Reporter: Shinichi Yamashita > Attachments: SQOOP-387.patch > > > PostgreSQLManager uses "DELETE" sentence for procesing in staging-table. > When it does "EXPORT" many times, the processing time is prolonged in "DELETE". > Therefore replace it with "TRUNCATE" sentence and improve performance. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira