PNC
PNC

Reputation: 1972

Optimal Partition Allocation

I am using Azure Cosmos DB for holding a variety of different document types.

I have read various documentation and am not clear on partition size.

Having many logical partitions across the data has many benefits around performance. What I don't fully understand is how to determine how many partitions to have.

Are we better to have

Is there some sweet spot for partition size that we should be targeting?

Upvotes: 0

Views: 61

Answers (1)

Krishnan Sundaram
Krishnan Sundaram

Reputation: 1401

https://learn.microsoft.com/en-us/azure/cosmos-db/partitioning-overview#choose-partitionkey has some pointers on how to choose the right partition key.

Upvotes: 1

Related Questions