[英]How to look up logical partition count and size in Cosmos DB
In Cosmos DB, is it possible to see how many logical partitions my database has created and the current fill capacity of each partition?在 Cosmos DB 中,是否可以查看我的数据库创建了多少个逻辑分区以及每个分区的当前填充容量? I'd like to know how evenly my partitioning strategy is dividing data.
我想知道我的分区策略如何均匀地划分数据。 Also, I'd like to prepare for data re-distribution before I hit the 20GB limit on a hot partition.
另外,我想在热分区达到 20GB 限制之前为数据重新分配做准备。
Azure monitor for Cosmos DB.用于 Cosmos DB 的 Azure 监视器。 Check out the metrics.
查看指标。
https://docs.microsoft.com/en-us/azure/cosmos-db/use-metricshttps://docs.microsoft.com/en-us/azure/cosmos-db/use-metrics
The accepted answer doesn't give you size metrics by partition.接受的答案不会按分区为您提供大小指标。 You can find the partition breakdown by following these steps:
您可以按照以下步骤找到分区细分:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.