azure - Azure Cosmos 数据库的吞吐量值

标签 azure azure-cosmosdb

我对分区如何影响 Azure Cosmos DB 的大小限制和吞吐量值感到困惑(在我们的示例中,我们使用的是 documentdb)。如果我理解documentation正确。

  1. 对于分区集合,10G 存储限制适用于每个分区?

  2. 吞吐量值例如。 400RU/S适用于每个分区,而不是集合?

最佳答案

  1. 无论您使用单分区集合还是多分区集合,每个分区最多可达 10 Gb。这意味着单分区集合不能超过该大小,而多分区集合可以

取自 Azure Cosmos DB FAQ :

What is a collection?

A collection is a group of documents and their associated JavaScript application logic. A collection is a billable entity, where the cost is determined by the throughput and used storage. Collections can span one or more partitions or servers and can scale to handle practically unlimited volumes of storage or throughput.
Collections are also the billing entities for Azure Cosmos DB. Each collection is billed hourly, based on the provisioned throughput and used storage space. For more information, see Azure Cosmos DB Pricing.

  • 集合计费,其中一个集合可以有一个或多个分区。由于 Azure 分配分区来托管您的集合,因此 RU 的数量需要针对每个集合。否则,拥有大量分区的客户将比拥有相同集合但分区少得多的其他客户获得更多的 RU。
  • 有关详细信息,请参阅下面引用中的粗体文本:

    取自 Azure Cosmos DB Pricing :

    Provisioned throughput

    At any scale, you can store data and provision throughput capacity. Each container is billed hourly based on the amount of data stored (in GBs) and throughput reserved in units of 100 RUs/second, with a minimum of 400 RUs/second. Unlimited containers have a minimum of 100 RUs/second per partition.

    取自 Request Units in Azure Cosmos DB :

    When starting a new collection, table or graph, you specify the number of request units per second (RU per second) you want reserved. Based on the provisioned throughput, Azure Cosmos DB allocates physical partitions to host your collection and splits/rebalances data across partitions as it grows.

    关于azure - Azure Cosmos 数据库的吞吐量值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46155335/

    相关文章:

    .net - 在 .Net Core 3.1 中使用 MongoDB API 出现 Azure Cosmos DB 中的重复 key 问题

    azure - 是否可以暂停 Azure DocumentDB?

    java - 如何在 Azure Cosmos DB 中存储图像文件?

    c# - DocumentDB 查询中的运算符之间

    azure - 将 Azure 存储帐户迁移到其他订阅

    sql-server - 从 Azure 流分析将数据插入 Azure SQL 数据库表时出现“OutputDataConversionError.TypeConversionError”

    azure - 在本地计算机上创建Azure虚拟机

    wordpress - 使用 AWS 将 Wordpress 作为服务上的应用程序而不是虚拟机上运行

    azure - Azure 中的 WordPress 托管,具有集成的媒体服务和 uploader 安全性

    azure - 根据属性值在cosmos db中查找重复项