简体   繁体   English

对于Cosmos Db,每个数据库,每个帐户或每个订阅是否有任何限制(多少)集合?

[英]Is there any limit (how many) of collections per database, per account or per subscription for Cosmos Db?

我想知道可以在cosmos数据库中添加的最大集合数。

Fortunately there are no limits in number of collections that can be added to a cosmos DB. 幸运的是,可以添加到cosmos DB的集合数量没有限制。

But be aware: Each collection is purchased! 但请注意:每个系列都已购买! 5 collections are costs 5 times more than one collection. 5个系列的成本是一个系列的5倍。 (if they all have the same RU/s). (如果它们都具有相同的RU / s)。

A good pattern is to put all data into one single collection and add a .type property for each document. 一个好的模式是将所有数据放入一个集合中,并为每个文档添加.type属性。 With that .type your query the data you want to get. 使用该.type查询您想要获取的数据。

SELECT * FROM c WHERE c.type = <myDataType>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 存储资源提供程序限制是每个订阅还是每个存储帐户? - Storage Resource provider limits are per subscription or per storage account? Windows Azure端点-每个订阅可以有几个? - Windows Azure Endpoints - how many can you have per subscription? 每个 COSMOS 实例一个数据库还是单个 COSMOS 实例多个数据库? - One database per COSMOS instance or multiple databases in single COSMOS instance? 每个Azure帐户的订阅数量有限制吗? - Limit on number of subscriptions per azure account? 逻辑应用 - 每个订阅每个区域的工作流 1000 - 限制每个区域的逻辑应用数量或每个逻辑应用的实例 - Logic App - Workflows per region per subscription 1000 - is limit to number of Logic app with per region or Instance per logic App Azure Cosmos DB - 访问每个用户的不同数据 (SQL) - Azure Cosmos DB - Access different data per user (SQL) Cosmos DB的查询结果如何通过指定每页的条目数来执行分页? - How to execute pagenation by specifying the number of items per page for the query result of Cosmos DB? 一个订阅计划可以在一个消费计划中创建多少个功能应用程序/插槽? - How many function apps / slots can be created in a single consumption plan per subscription? 每个Azure订阅可以拥有多少个工作角色和Web角色? - How many worker roles and web roles can you have per Azure subscription? 如何限制 Kubernetes 上每个节点的可分配内存? - How to limit allocatable memory per node on Kubernetes?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM