Partition Key

Noun · Development

Definitions

  1. The column or attribute whose value determines which partition a given row or record is assigned to, via a hash or range function. Choosing a good partition key is critical to avoiding hot spots and ensuring even data distribution across nodes.

    In plain English: The piece of data that decides which bucket a record goes into when a database splits its data across multiple storage locations.

    Example: "We switched the partition key from country code to user ID because three countries were creating massive hot partitions."

Related Terms