title: Faster way to insert data in neo4j?
body: <p>I am trying to insert  unique nodes and relationship in neo4j.</p>
  
  <p>What I am using :-</p>
  
  <ul>
  <li>Neo4j Community Edition running on Amazon EC2.[Amazon Linux m3.large]</li>
  <li>Neo4j Java Rest Binding [ <a href="https://github.com/neo4j-contrib/java-rest-binding" rel="nofollow">https://github.com/neo4j-contrib/java-rest-binding</a> ]</li>
  </ul>
  
  <p><strong>Data Size and Type :</strong></p>
  
  <p>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. </p>
  
  <p>I am using UniqueNodeFactory for inserting nodes. And inserting sequentially, couldn't find any way to insert into batches preserving unique nodes.  </p>
  
  <p>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?</p>