You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by 李铖 <li...@gmail.com> on 2015/08/10 13:01:00 UTC

Differents of loading data

What is the differents of loading data using jdbc and loading  data using
spard data source api?
or differents of loading data using mongo-hadoop and loading data using
native java driver?

Which way is better?

Re: Differents of loading data

Posted by Akhil Das <ak...@sigmoidanalytics.com>.
Load data to where? To spark? If you are referring to spark, then there are
some differences the way the connector is implemented. When you use spark,
the most important thing that you get is the parallelism (depending on the
number of partitions). If you compare it with a native java driver then you
will find it slower compared to spark.

Thanks
Best Regards

On Mon, Aug 10, 2015 at 4:31 PM, 李铖 <li...@gmail.com> wrote:

> What is the differents of loading data using jdbc and loading  data using
> spard data source api?
> or differents of loading data using mongo-hadoop and loading data using
> native java driver?
>
> Which way is better?
>
>