Re: [Neo4j] Re: Data Insertion into Neo4j

2016-06-21 Thread 'Michael Hunger' via Neo4j
Can you at least share the output of PROFILE of your query ? Do you have a fast DISK (SSD) and can you share the config for heap and page-cache Otherwise there is little I can do without information. On Tue, Jun 21, 2016 at 9:30 AM, Yayati Sule wrote: > Hi

Re: [Neo4j] Re: Data Insertion into Neo4j

2016-06-21 Thread Yayati Sule
Hi Michael, I cannot share the code as it belongs to my firm. i can tell you that 1. I use Labels, 2. i use values from MongoDB keys as parameters, 3. I have Uniqueness constraints on the property keys that i merge on 4. i do not use Batch transactions Regards, Yayati Sule Associate Data

Re: [Neo4j] Re: Data Insertion into Neo4j

2016-06-21 Thread 'Michael Hunger' via Neo4j
More detail please: 0. share your query & code 0. do you use labels 1. do you use real query parameters 2. do you have indexes / constraints for the keys you merge on 3. do you batch transactions On Tue, Jun 21, 2016 at 9:00 AM, Yayati Sule wrote: > Hi Michael, > I

Re: [Neo4j] Re: Data Insertion into Neo4j

2016-06-21 Thread Yayati Sule
Hi Michael, I am reading records from mongoDB and i have a written a generic function to create Nodes and relations. i am appending the parameters from mongoDb into a Query String and executing the query via run() api Is this causing a bottle neck? Regards, Yayati Sule Associate Data Scientist

[Neo4j] Re: Data Insertion into Neo4j

2016-06-20 Thread Joseph Guhlin
I've had lots of luck using the BatchInserters. More info at their API Doc's. http://neo4j.com/docs/2.3.5/javadocs/ On Monday, June 20, 2016 at 3:10:49 AM UTC-5, yayat...@innoplexus.com wrote: > > Hi, > I am trying to read records from MongoDB and insert into Neo4j. Now i have > 2.6 million