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

ASF subversion and git services commented on SQOOP-1341:
--------------------------------------------------------

Commit d03faf3544b1ef07c9496fa7641ed6a42f58cb1d in sqoop's branch 
refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=d03faf3 ]

SQOOP-1341: Sqoop Export Upsert for MySQL lacks batch support

(Andy Skelton via Jarek Jarcec Cecho)


> Sqoop Export Upsert for MySQL lacks batch support
> -------------------------------------------------
>
>                 Key: SQOOP-1341
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1341
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors/mysql
>    Affects Versions: 1.4.4
>            Reporter: Andy Skelton
>              Labels: easyfix, newbie, patch
>             Fix For: 1.4.5
>
>         Attachments: SQOOP-1341.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> MySQL export upserts are limited to one row per statement. This wastes 
> bandwidth and makes the exports unusably slow.
> I wrote a patch to support multiple rows per statement at 
> (https://github.com/cloudera/sqoop/pull/22/files). Now the 
> records.per.statement parameter actually works, and I get fast exports (60k 
> rows/sec) with 1000 records per statement, 10 statements per transactions, 
> and 5 mappers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to