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

Nikolay Izhikov commented on IGNITE-7337:
-----------------------------------------

[~vkulichenko]

> you're doing single inserts one by one when saving the data, this will not 
> perform well. 

I agreed.
Is there any way to do some kind of batch data loads?

For example, JdbcPreparedStatement doesn't support batches, 

https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/jdbc/JdbcPreparedStatement.java#L196

> Is there a way to use IgniteDataStreamer instead?

I look into Streamer API and can't see how it can be used for batch loading.
Can you give me some ideas or examples how to use it for a performance boosting 
of SQL inserts?

> Spark Data Frames: support saving a data frame in Ignite
> --------------------------------------------------------
>
>                 Key: IGNITE-7337
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7337
>             Project: Ignite
>          Issue Type: New Feature
>          Components: spark
>    Affects Versions: 2.3
>            Reporter: Valentin Kulichenko
>            Assignee: Nikolay Izhikov
>            Priority: Major
>             Fix For: 2.5
>
>
> Once Ignite data source for Spark is implemented, we need to add an ability 
> to store a data frame in Ignite. Most likely if should be enough to provide 
> implementation for the following traits:
> * {{InsertableRelation}}
> * {{CreatableRelationProvider}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to