Skip to content
PlanetScale
PlanetScale logoPlanetScale · Feature trail

Sharding And Partitioning

2 posts · Jun 2023 – Oct 2026

What this trail covers

PlanetScale's Neki sharded Postgres solution evolves its shard design capabilities. This post introduces 'shard groups' as the unit of co-location, allowing related tables to reside on the same shard for improved query performance and transactional integrity. It details how to configure shard groups using `xxhash` for uniform distribution, `range` for specific key allocations, and `modulo` for predictable but less flexible distribution. Reference tables are supported for global data. Global seco

All PlanetScale trails