Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Cosmos DB each partition size limit

In Azure Cosmos DB partinioned collection, does each partition has any size limit?

As per this old document, they have a size limit of 10 GB. Is that the same now also?

https://azure.microsoft.com/en-in/blog/10-things-to-know-about-documentdb-partitioned-collections/

Regards, Karthikeyan V.

like image 910
user2461022 Avatar asked Jun 14 '17 10:06

user2461022


People also ask

What are the storage limits of Azure Cosmos DB?

By default, serverless containers can store up to 50GB of data. Store up to 1TB of data in new and existing serverless containers today.

How many partitions does Cosmos DB have?

There is no limit to the number of logical partitions in your container. Each logical partition can store up to 20GB of data. Good partition key choices have a wide range of possible values.

How big can a Cosmos DB document be?

It should be 2 MB as per the official documentation.

Is Cosmos DB partition key case sensitive?

Since Cosmos DB is case-sensitive, when the JSON event includes a field named Id , iD , or ID , it is imported as a separate field.


1 Answers

A partitioned collection has individual 10GB partition spaces. For a given partition key, you cannot exceed 10GB of data. This has not changed.

You'll need to pick a partition key which distributes your data across many partitions, vs creating "hot" partitions which could fill up (where you'd then get an error when attempting to write content).

like image 113
David Makogon Avatar answered Oct 12 '22 21:10

David Makogon