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

Michael Armbrust commented on SPARK-8008:
-----------------------------------------

After talking more off-line with [~rxin] it does seem like unioning of many 
smaller partitions (effectively serializing a bunch of smaller loads and then 
combining them) is also pretty reasonable approach.  Would be awesome if you 
could report back on your partition count experiments and add this and a 
description of your other workaround to this ticket!  Then we can try and build 
one of them into the datasource natively.

> JDBC data source can overload the external database system due to high 
> concurrency
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-8008
>                 URL: https://issues.apache.org/jira/browse/SPARK-8008
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Rene Treffer
>
> Spark tries to load as many partitions as possible in parallel, which can in 
> turn overload the database although it would be possible to load all 
> partitions given a lower concurrency.
> It would be nice to either limit the maximum concurrency or to at least warn 
> about this behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to