Databases

Sequences and other volatiles in Neki

A PlanetScale engineering article describes how its Neki query planner and runtime implement PostgreSQL sequences in a sharded system. It focuses on handling volatile expressions and synchronous evaluation across shards, explaining that sequences generate unique values for counters, identities and surrogate keys.

AI-written summary, checked against the cited sources. How summaries work

Read at PlanetScale