Berildocs GitHub

Memory cards

A parallel plan needs even work and a worker limit

confidence: mediumupdated: 2026-11-25status: activedatabaseparallelskew

Claim#

Workers split the scan; a skewed key makes one worker the tail. The limit protects the host.

Test#

Run a plan with a skewed key. Measure the slowest worker.

Proof#

A plan with balanced workers and a bounded memory.

Failure modes#

More workers can increase contention. A parallel plan on a tiny table is overhead.