gpt4 book ai didi

azure-cosmosdb - 来自不同容器的逻辑分区可以存储在同一个底层物理分区上吗? (已提供数据库级别)

转载 作者:行者123 更新时间:2023-12-05 03:43:12 25 4
gpt4 key购买 nike

每当您在 cosmosdb 容器(标准或自动缩放)上提供多个 RU/s 时,这些 RU/s 将平均分配给所有底层物理分区。这些物理分区中的每一个都将包含一个或多个逻辑分区,具体取决于存储和配置的吞吐量。

但我想知道当您在数据库级别而不是容器级别配置吞吐量时会发生什么。来自不同容器(在具有预配置吞吐量的同一数据库中)的逻辑分区能否存储在同一底层物理分区上?或者不同的容器总是使用不同的物理分区?

在后者的情况下,这意味着容器的 maxRU/s - 在资源在数据库级别配置的环境中 - 最大为(#RU/s on database)/#Containers。

根据文档,我假设一个物理分区可以容纳来自不同容器的逻辑分区。但我似乎找不到对这个案例 100% 清楚的描述。

谢谢!

最佳答案

Can logical partitions from different containers (within the samedatabase with provisioned throughput) get stored on the sameunderlying physical partition? Or will different containers always usedifferent physical partitions?

根据提供的信息here ,一个物理分区可以有来自不同容器的逻辑分区。这是链接中的图片:

enter image description here

来自同一链接的更多内容:

Because all containers within the database share the provisionedthroughput, Azure Cosmos DB doesn't provide any predictable throughputguarantees for a particular container in that database. The portion ofthe throughput that a specific container can receive is dependent on:

  • The number of containers.
  • The choice of partition keys for various containers.
  • The distribution of the workload across various logical partitions of the containers.

关于azure-cosmosdb - 来自不同容器的逻辑分区可以存储在同一个底层物理分区上吗? (已提供数据库级别),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66872497/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com