You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
bindings docs: whole-type aggregates and distinct values run on every core only through SQL GROUP BY (26.10.1, upstream #8797, #8799) #40
The queries guide says filtered scans run in parallel in both languages from 26.10.1, but says nothing about aggregates. Measured today on upstream main 3d5e1a5 (2,000,000 vertices, 12 cores, no transaction open, Temurin 25 and 21): a SQL count, sum, max, or GROUP BY over a type runs in the parallel workers at about 10 cores; the same aggregate in openCypher runs at 1.0 to 2.2 cores and is 4 to 8x slower (sum 127-130 ms against 680-752 ms; group-by 226-239 ms against 973-1,146 ms). The same holds with one bucket, the default. Filed upstream as ArcadeData#8797.
Add a paragraph under 'Scans run in parallel only outside a transaction' saying so, with the measured range and the advice to write whole-type aggregates in SQL until ArcadeData#8797 changes it.
changed the title [-]bindings docs: whole-type aggregates run on every core in SQL and on one in Cypher (26.10.1, upstream #8797)[/-][+]bindings docs: whole-type aggregates and distinct values run on every core only through SQL GROUP BY (26.10.1, upstream #8797, #8799)[/+]on Oct 1, 2026
Activity
bindings docs: distinct values through GROUP BY, not SELECT DISTINCT …
[-]bindings docs: whole-type aggregates run on every core in SQL and on one in Cypher (26.10.1, upstream #8797)[/-][+]bindings docs: whole-type aggregates and distinct values run on every core only through SQL GROUP BY (26.10.1, upstream #8797, #8799)[/+]examples: 05 reads its user ids with GROUP BY, not SELECT DISTINCT (u…
bindings docs: whole-type aggregates and distinct values, SQL GROUP B…