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.
so besides buying new hardware server, have idea of tweaking jdbc connector or cypher querying?
does have idea how find bottleneck? in jdbc logs not find might give hint problem.
on server permission denied warning appears $ echo 'deadline' > /sys/block/sda/queue/scheduler
thanks in advance
Comments
Post a Comment