sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinichi Yamashita (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-387) Use TRUNCATE for PostgreSQLManager
Date Sun, 18 Mar 2012 11:42:41 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232259#comment-13232259

Shinichi Yamashita commented on SQOOP-387:


I forgot to tell that TRUNCATE of PostgreSQL did not return a value such as DELETE to you.
Therefore I think that I apply the patch which I attached first and use it.
If a count of the number of deletion is necessary, I want to make modifications to count it
with the first patch.

> 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


View raw message