~/talk

Speed and Precision: Mastering Graph Traversal With Quantified Path Patterns

Talkat NODES 2024 · on Thursday, 2024-11-07· [databases]
links:none on file
slides:none on file

Neo4j 5.9’s Quantified Path Patterns let Cypher filter while expanding, which prune-before-expand and avoids exploding intermediate rows. A supply‑chain query that needed an upper bound and took ~14s on 1k nodes/3k relationships returns in 3 milliseconds with only 107 rows. An anti‑money‑laundering refactor (transactions + accounts) runs on a 100× larger graph in ~600ms and still finds a 200-node cycle in ~481ms, with runtime linear in path length.

AI-written summary · about

  1. 0:00Introduction to graph traversal
  2. 1:34Supply chain use case
  3. 4:24Cipher limitations with complex patterns
  4. 7:41Trying APOC path solutions
  5. 9:05Neo4j 5.9 Quantified Path Patterns
  6. 10:11What are Quantified Path Patterns
  7. 11:37Example with colored nodes
  8. 16:30Supply chain query with QPP
  9. 17:35Performance with QPP
  10. 17:56Anti-money laundering example
  11. 20:23Refactoring the graph
  12. 21:49Benchmark results
  13. 23:15Why QPP scales efficiently
  14. 24:19Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.