← Thursday, October 15, 2026ArchitectureDeep dive
Neki implements Postgres sequence semantics across shards
The piece examines how PlanetScale’s sharded Postgres system handles volatile expressions and synchronous evaluation across shards to match native Postgres sequences. These semantics matter when adapting familiar database behavior to distributed query planning and execution.
- What
- Neki, PlanetScale’s sharded Postgres, implements sequences to match native Postgres semantics across its sharded system.
- How
- In general query planning, shards return raw rows to a router, which concatenates the rowsets and returns the full result to the client.
- Why it matters
- Distributed query planning must account for SQL semantics and data topology; sequence handling is a case where the excerpt says centralized control is needed.
Discussion
Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.
Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.