databasessystem-design
A partition key affects both writes and reads
Anonymous
A key should spread writes while matching common lookup paths. Low cardinality or a few very popular values can create hot partitions; a highly distributed key can make queries fan out. Check both the access pattern and expected key distribution.
0