Hello everyone,
I am using Neo4j in java as stand alone application.
I am facing problem in fetch result from ExecutionResult, which is very
slow.
long start1= System.currentTimeMillis();
er= (ExecutionResult)graphDb.execute(query);
long end1= System.currentTimeMillis();
System.out.println("ExecutionResult time:"+ (end1-start1));
long start= System.currentTimeMillis();
Iterator<Node> personResultIterator = er.columnAs("columnname");
while(personResultIterator.hasNext()){
System.out.println(personResultIterator.next());
}
long end= System.currentTimeMillis();
System.out.println("Iterator time : "+ (end-start));
ExecutionResult time:21
Iterator time : 2493
Iterator is taking too must time. I also tries DumpString, ResultasString
and JsonHelper to fetch values from execution Result they are also take
same amount of time.
Executing query is not taking time but fetching values from execution
result is very slow.
Please help in resolving this.
Regards
--
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.