Hi I don't like the current speed of Neo4j with Java API.

I have written an example that just inserts random data. In the case 160k:

for (int i = 0; i < 160000; i++) {
                myFirstNode = graphDb.createNode();
                myFirstNode.setProperty( "id", "1" );
                myFirstNode.setProperty( "name", "Duane Nickull, I 
Braineater" );
                tx.success();
            }

this needs 22 seconds + ~2 minutes of tx.success() finishing or so. That's 
pretty bad if you ask me.

So how can I improve the speed of the insert.

Already thought about it, maybe with:


   - disabling tx
   - declare massive insert
   - inserting every 10k

So yeah basically help me to speed it up. Please don't say to use the 
batch-inserter. He is fine but noch practicable for me.

Thank you.

-- 
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