Could you explain your use-cas why you have that many labels. Just curious, as this is not really a graph-use-case ?
I wonder if it makes sense to split the query up by the most limiting label first and then filter the others afterwards. > MATCH (n:Label5) // most limiting label WHERE n::Label2:......:Label20 > > RETURN n could be that you need to do > MATCH (n:Label5) // most limiting label WITH n WHERE n::Label2:......:Label20 > > RETURN n Am 15.01.2014 um 23:12 schrieb ioannafilip...@yahoo.gr: > Hi all, > > I have a databese with 15 million nodes. Also i have 750 different labels. > Every node may have 5-32 labels. > When i execute the querry > > MATCH (n:Labe1:Label2:......:Label20) > RETURN n > > the response time is really slow. Its about 200-400 sec. Is something i can > do to improve this performance? > > -- > 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 neo4j+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.