英文:
Azure Cosmos DB - Maximum number of 'Collection' per account exceeded. Current configured quota 100
问题
我正在尝试使用Azure Cosmos DB的MongoDB驱动程序创建一个新的集合。
我已经达到了帐户的100个集合的限制,因为它是一个无服务器帐户。
现在我几天前删除了一些旧的数据库和集合以释放一些空间,但我仍然继续收到相同的错误。
我应该怎么做来解决这个问题?
英文:
I'm trying to create on Azure Cosmos DB with MongoDB driver, a new collection.
I've reached the limit of 100 collection for account cause it's a serverless account.
Now I've deleted some old databases and collection a couple of days ago to free up some space, but I continue to receive the same error.
What I'm supposed to do to solve the issue?
答案1
得分: 1
Serverless账户每个账户限制为100个集合,具体信息请参考服务配额文档,https://learn.microsoft.com/azure/cosmos-db/concepts-limits#serverless-1。
如果您希望在一个账户中使用超过100个集合,我建议使用MongoDB vCore服务。与基于RU的模型不同,这是单实例、基于VM的服务,当迁移现有的MongoDB工作负载,特别是那些具有大量小集合的工作负载时,可能更合适。您可以从这里开始了解更多信息,https://learn.microsoft.com/azure/cosmos-db/mongodb/vcore/introduction。
英文:
Serverless accounts are limited to 100 collections per account, documented here in service quotas, https://learn.microsoft.com/azure/cosmos-db/concepts-limits#serverless-1.
If you are expecting more than 100 collections across all databases in the account, I'd recommend using the MongoDB vCore service. Unlike the RU-based model this is single-instance, VM-based, and can be a better fit when migrating existing MongoDB workloads, particularly those with large numbers of small collections. You can start here to learn more, https://learn.microsoft.com/azure/cosmos-db/mongodb/vcore/introduction.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论