Azure Cosmos DB – 账户中的“集合”最大数量已超过。当前配置的配额为100。

huangapple go评论76阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年7月24日 16:20:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76752594.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定