Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
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

Closed

Description

@tae898

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.

Activity

  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions