java - improving cypher query performance and find bottleneck in cypher with jdbc to neo4j server connection -


i'm looking methods improve answer time of neo4j server, respectively cypher querying. i've got server neo4j running. neo4j graph around 55gb. there 4 different node types, on each index. client i'm running java code jdbc connector lot(>1000) of queries, following:

    match (p0:page {title:'"+captionu+"'}), (p1:page {title:'"+labelu+"'}), p = ((p0)-[r:to_category*..4]-(p1)) return p   

according neo4j webconsole such query takes around 4000ms. using server shell, shows similar amount of time(~4000ms). when running java code of queries seem require
more time 4000ms. setquerytimeout not have effect.

  1. so besides buying new hardware server, have idea of tweaking jdbc connector or cypher querying?

  2. does have idea how find bottleneck? in jdbc logs not find might give hint problem.

  3. on server permission denied warning appears $ echo 'deadline' > /sys/block/sda/queue/scheduler

thanks in advance


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -