~/talk

My Cypher Query Takes Too Long. What Can I Do ?

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

Explains how the Cypher planner turns patterns into a logical plan and which operators actually slow queries — leaf/index seek, expand, filter, collect and problematic eager operators — and shows how to use EXPLAIN and PROFILE and DB statistics to measure estimated versus actual rows and database hits. Covers practical fixes: add labels/indexes, push filters/collects earlier, watch dense nodes (example: a course node with ~40K enrollments) and caching effects.

AI-written summary · about

  1. 0:00Introduction
  2. 2:38Key principles of Cypher
  3. 3:40Query planner and execution
  4. 7:11How rows are created
  5. 10:25Database hits explained
  6. 11:27EXPLAIN vs PROFILE
  7. 13:31Reading query plans
  8. 14:58Query planner operators
  9. 16:46Eager operators to avoid
  10. 17:30Investing time in optimization
  11. 18:37Query planning checklist
  12. 20:25Label importance in queries
  13. 21:50Collect and filter early
  14. 22:52Reducing rows and hits
  15. 23:56Dense nodes problem
  16. 25:01Property access costs
  17. 25:43Query tuning pointers
  18. 26:04Other processing levels
  19. 27:13Memory configuration
  20. 27:36Modeling considerations
  21. 27:56Q&A
~/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.