#1 Do the uniqueness upfront by processing on the tsv
#2 use the batch-importer to import the tsv 
https://github.com/jexp/batch-import/tree/20#neo4j-csv-batch-importer

Michael

Am 24.06.2014 um 10:57 schrieb [email protected]:

> I am trying to insert unique nodes and relationship in neo4j.
> 
> What I am using :-
> 
> Neo4j Community Edition running on Amazon EC2.[Amazon Linux m3.large]
> Neo4j Java Rest Binding [ https://github.com/neo4j-contrib/java-rest-binding ]
> Data Size and Type :
> 
> TSV File [Multiple]. Each contains more than 8 Million Lines [each line 
> represent a node or a relationship].There are more than 10 files for nodes.[= 
> 2 Million Nodes] and another 2 million relations.
> 
> I am using UniqueNodeFactory for inserting nodes. And inserting sequentially, 
> couldn't find any way to insert into batches preserving unique nodes.
> 
> The problem is it is taking huge time to insert data. For example it took 
> almost a day for inserting 0.3 million unique nodes. Is there any way to 
> fasten the insertion?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" 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 
"Neo4j" 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