Tagged articles

global unique identifier

1 articles · Page 1 of 1
Architect's Guide
Architect's Guide
Jan 26, 2023 · Databases

Primary Key and Index Design for Distributed Databases

The article explains why auto‑increment primary keys are unsuitable for sharded databases, recommends globally unique ordered identifiers, and details index and global‑table strategies—including redundant tables, index tables, and embedding shard information in keys—to achieve efficient single‑shard queries.

Primary KeySQLSharding
0 likes · 10 min read
Primary Key and Index Design for Distributed Databases