cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How can I optimize this MATCH/RETURN query?

Hi guys

Any pointers/advice on how to optimize/parallelize this query?

MATCH (src:Address)-[:REDEEMED]->(ip:IncomingPayment)-[:INCOMING_PAYMENT]->(tx:Transaction)-[:SENT_COINS]->(op:OutgoingPayment)-[:WAS_SENT_TO]->(dst:Address)
RETURN src.AddressID as src, dst.AddressID as dst, tx.Time as timestamp, tx.Hash as txHASH, ip.Value as inValue, op.Value as outValue
ORDER BY timestamp ASC

I've tried apoc.periodic.iterate but it doesn't yields results. Any suggestions?

1 ACCEPTED SOLUTION

intouch_vivek
Graph Steward

Hi @and.manousakis,

Please go to below article

specially Reduce Cardinality

View solution in original post

1 REPLY 1

intouch_vivek
Graph Steward

Hi @and.manousakis,

Please go to below article

specially Reduce Cardinality