Hi Joao,

it depends on how your source data are represented. If you have sequential
integer/long keys for vertexes, you can use OGraphBatchInsert class

Luigi


2015-03-13 10:30 GMT+01:00 Vitor Enes Duarte <[email protected]>:

> graph.declareIntent(new OIntentMassiveInsert());
> // inserts
> graph.declareIntent(null);
>
>
> I use vertex.addEdge method instead of CREATE EDGE command. But I can't
> tell which one is faster.
>
> quinta-feira, 12 de Março de 2015 às 20:36:20 UTC, João Talles escreveu:
>
>> I am trying to save 10M in OrientDB using CREATE EDGE command for each
>> edge. Using this approach the whole process is taking a long time to
>> execute (many hours).
>> Is there a BULK INSERT to create edges in a batch?
>> Is the best solution to multi-thread the import process?
>>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to