Hi Andres, Peter and Michael,
Thanks for your time...
@Andres: I have a database containing approx 30000 nodes which is
grouped by two indexes, abcNodes and xyzNodes.
I access the locally hosted Neo4j server and access the database with
a java application running on glassfish, using
new RestGraphDatabase("local server path");
I set parameters in my query for pagination like so:
Map<String, Object> params = new HashMap<String, Object>();
params.put("skipLimit", 1);
params.put("resultsPerPage", 20);
and execute the query: executionEngine.execute(start n =
node:abcNodes('name:*') return n skip {skipLimit} limit
{resultsPerPage}", params);
@Peter: The neo4j server is locally hosted just for testing purposes.
This is a rest application deployed in glassfish - am sorry but I
didn't understand the term "starting cold"...
@Michael:
JVM settings:
-XX:MaxPermSize=256m
-Xmx1024m
Index size: don't know how to get this yet...
Values for skip and limit: 1 and 20
Running the application not in debugging mode: I get the results
Execution time for query: 6391 ms (first run)
Second time: 4965 ms
Third time: 5536 ms
Fourth time: 4448 when we paginate with 1 and 15.
Thanks...
On May 8, 12:51 pm, Michael Hunger <
michael.hun...@neotechnology.com>
wrote: