You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jhovanny (JIRA)" <ji...@apache.org> on 2012/08/06 03:58:02 UTC

[jira] [Updated] (SQOOP-539) getPrimaryKeyQuery is very slow in mysql 5.0.77

     [ https://issues.apache.org/jira/browse/SQOOP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jhovanny updated SQOOP-539:
---------------------------

    Attachment: patch

Patch for query change
                
> getPrimaryKeyQuery is very slow in mysql 5.0.77
> -----------------------------------------------
>
>                 Key: SQOOP-539
>                 URL: https://issues.apache.org/jira/browse/SQOOP-539
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors/mysql
>    Affects Versions: 1.4.2, 2.0.0
>         Environment: mysql 5.0.77-percona-highperfb0805
>            Reporter: Jhovanny
>            Priority: Minor
>              Labels: performance
>             Fix For: 1.4.2, 2.0.0
>
>         Attachments: patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The current query used to get the primary key for a table takes 20 seconds in my production environment and 11 minutes in my QA environment. I simplified it and it now runs very fast (0.08 seconds in my production environment). I'm submitting the patch I applied locally.

--
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