Shard and replica layout
How many shards, how many replicas per shard, and where each replica runs, decided from data size, query load, and the zone, rack, or region failures you need to survive. Replication is asynchronous and works across data centers, so a replica in a second region is possible; a quorum insert that spans regions waits on the slowest link.
- Replica paths built from {shard} and {replica} macros, so DDL is the same on every node
- Replicas of one shard placed in different zones or racks







