[Neo] Load hugh graph

2009-08-26 Thread Vanessa Junquero Trabado
Ok. The speed has increased a lot, but if I remove the property RelationshipType of the edges, I have the following problem when I try to get the type of a relationship: My code is: iter = neo.getRelationshipIds(eNode).iterator(); long rel = iter.next();

Re: [Neo] Load hugh graph

2009-08-26 Thread Mattias Persson
Please use the name() method on the RelationshipType to print the actual name of it... and also as equality tests between relationship types. See http://api.neo4j.org/current/org/neo4j/api/core/RelationshipType.html for more information about that. 2009/8/26 Vanessa Junquero Trabado

[Neo] Load hugh graph

2009-08-25 Thread Vanessa Junquero Trabado
Hi, I have followed the steps in the wiki but I still have the same problem. I have no problems when I load the nodes of the graph but when I try to load the edges the program becomes very very slow. I have calculated that the program lasts 5 days more or less to load the all graph. The load

Re: [Neo] Load hugh graph

2009-08-25 Thread Johan Svensson
Hi, What is the total number of edges in the graph? Also how much RAM does the computer have you are running this on? The batch inserter needs to be configured properly as described in the last section on the wiki page [http://wiki.neo4j.org/content/Batch_Insert] to achieve best performance.

Re: [Neo] Load hugh graph

2009-08-21 Thread Peter Neubauer
Hi Vanessa, do you have the importing code available, and are you using the BatchInsert Component to do this, as normal transactionally save atomic insertions are probably not what - http://wiki.neo4j.org/content/Batch_Insert ? /peter GTalk: neubauer.peter Skype peter.neubauer Phone

Re: [Neo] Load hugh graph

2009-08-21 Thread Neil Ellis (peepwl)
Hi Vanessa You might want to look at the bulk load feature, it's described on the wiki. All the best Neil Ellis (Sent from my iPhone) On 21 Aug 2009, at 10:26, Vanessa Junquero Trabado vanessitajunqu...@hotmail.com wrote: I'm trying to load a hugh database with 17 million