Skip to main content

Module statistics

Module statistics 

Source
Expand description

Edge table statistics for query planning and optimization.

Maintains per-label edge counts and degree distribution histograms. Updated incrementally on add_edge/remove_edge and fully recomputed on compact. Used by the MATCH pattern compiler for join order optimization (most selective label first).

Structsยง

DegreeHistogram
Degree distribution histogram.
GraphStatistics
Complete graph statistics snapshot.
LabelStats
Per-label edge statistics.