neo4j - Same Cypher Query has different performance on different DBs -


i have fulldb, (a graph clustered country) contains countries , have various single country test dbs contain same schema 1 given country.

my query's "start" node, identified via match on given value property e.g

match (country:country{name:"uk"}) 

and proceeds main query defined variable country. expecting query times similar given starting same known node , traversing same number of nodes related in both dbs.

but getting difference performance query if run in full db or single country.

i thought must have kind of "cartesian relationship" issue going on profiled query in full db , single country db profile same each step in plan. assuming profile reveal marked increase in db hits @ point in plan, values same. mistaken in profile displaying?

some sizing: fulldb have 70k nodes, test db 672 nodes, time in full db query complete 218764ms while test db circa 3407ms.

while writing realised there increase in number of outgoing relationships on nodes (suppliers can supply different countries) think cause, question remains why not seeing indication of in profiling.

any thoughts welcome.

what version using? both query times way long dataset size.

so might check configuration / disk.

did create index/constraint :country(name) , index online?

and please share query , query plans.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -