All Questions
Data Modeling medium

In DynamoDB/Cassandra, what happens if you choose a Partition Key with low cardinality (e.g., `Gender` or `Status`)?

  1. A It significantly improves the database's ability to perform localized range-scanning and accelerates all categoric report generation.
  2. B It optimizes the physical disk storage footprint by allowing the database engine to group similar values into a single compressed block.
  3. C It enables the system to maintain a higher degree of availability during massive network partitions by reducing the gossip-protocol overhead.
  4. D It causes Hot Partitions, where a disproportionate amount of data clumps onto a few physical nodes, leading to throttling and bottlenecks.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions