match (n:A)-[r:Transaction]-(m:B) with n,count(r) num where num>1 return n
There are 100M nodes and 250M relations in the graph. The above query is a simple group by in a relational DB and returns in < 5mins. It takes forever in Cypher, any ideas what can make it faster