Overview of the Partition Key

The heart of Cosmos DB

To leverage the full power of Cosmos DB, we need to spread RUs and data storage evenly across all partitions and avoid hot partitions.

Partition key

Let’s start with what makes partitioning possible: partition keys. Cosmos DB asks us where to find the partition key in a document (the path) when we create a new container. The partition key cannot be modified after the creation.

Get hands-on with 1200+ tech skills courses.