Version: neo4j-community-2.1.0-M01
Neo4j embedded in Java

Sample code :-

        long timeStamp = System.currentTimeMillis();
        System.out.println("Start insert ID:-"+(timeStamp/10000));
        sTime = System.currentTimeMillis();
        inserter.createNode(timeStamp/10000,properties, 
DynamicLabel.label("test"));
        System.out.println("Time taken to add nodeID:-"+(timeStamp/10000)+" 
is :-"+(System.currentTimeMillis()-sTime));* // Returns 15 miliseconds*

        System.out.println("Start insert ID:-"+(timeStamp/1000));
        sTime = System.currentTimeMillis();
        inserter.createNode(timeStamp/1000,properties, 
DynamicLabel.label("test")); *// process hangs.*
        System.out.println("Time taken to add nodeID:-"+(timeStamp/1000)+" 
is :-"+(System.currentTimeMillis()-sTime));

Above also locks the .db folder and unable to even kill java.exe process.
Is there a limit for NodeID ? Since datatype is long it should support any 
long value. 
Please advice. Looking to bulk import millions of nodes and relations per 
5/10 mins interval, hence need a control on NodeID.

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