PlanetScale
Sharding And Partitioning
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