Maximum Number of collections on CosmosDB

Juan Baires 6 Reputation points
2022-03-23T23:52:45.607+00:00

Hi!
I am experiencing an error when I tried to create a new collection,
As I can read the error is caused by the limit of collections on CosmosDB.
I have noticed that I am allowed to create up to 100 collections across all DataBases, but in my case, I need to create a larger amount. Is there a way to increase this limit somehow?

Thanks a lot!

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Anurag Sharma 17,636 Reputation points
    2022-03-24T05:57:52.807+00:00

    Hi @Juan Baires , welcome to Microsoft Q&A forum.

    The current fixed limit on number of container varies based on capacity mode we select. Serverless allows us to create 100 containers while provisioned throughput allows 500 container. Below is the screenshot for the same. I am assuming you must have created serverless account.

    Azure Cosmos DB service quotas

    186303-image.png

    We can migrate this account to Provisioned throughput account and we will have an enhanced limit of 500 containers per account.

    Tutorial: Use Data migration tool to migrate your data to Azure Cosmos DB

    Azure Cosmos DB allows us to increase the quota for some of the types but we dont have anything specific for increasing number of containers.

    186325-image.png

    Please let us know if you have any queries on the same.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.