~/talk

Life of a distributed graph database query

Talkat Code Mesh LDN 2018 · 2018-11-08..11-09· [databases, distributed-systems]
links:none on file
slides:none on file

Memgraph implements a distributed graph query pipeline: it parses openCypher with ANTLR into a C++ AST then rewrites to a cleaner AST, strips literals for query caching, and runs semantic checks that emit frame slots for variables. The planner uses operators like scan_by_index, scan_all and expand, estimates costs with heuristics (index scans vs Cartesian products) and prefers plans that reduce cross-worker RPCs. Execution uses cursor pull iterators across worker nodes with a master aggregator; ORDER BY and concurrent CRUD force global sorting or sync barriers and can blow memory.

AI-written summary · about

  1. 0:00Start
  2. 4:32Parsing
  3. 6:23Semantic Analysis
  4. 7:25Symbol Generation
  5. 9:02Logical Operators
  6. 16:41Planning Distributed Query
  7. 27:32The End
~/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.