Referential Integrity
← Back to Sharding Challenges
Foreign keys cannot span shards. Referential integrity must be enforced at the application level or by colocating related data on the same shard.
← Back to Sharding Challenges
Foreign keys cannot span shards. Referential integrity must be enforced at the application level or by colocating related data on the same shard.