如何将我的CosmosDb容器的RU/s设置为低于400? [英] How to set the RU/s for my CosmosDb container lower than 400?

查看:61
本文介绍了如何将我的CosmosDb容器的RU/s设置为低于400?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了CosmosDb和文档的价格(https://azure.microsoft.com/zh-CN/pricing/details/cosmos-db/)说,最简单的配置(无冗余等),每月100 RU/s,约$ 5.84/月.

I've read pricing for a CosmosDb and the docs (https://azure.microsoft.com/en-us/pricing/details/cosmos-db/) say ~$5.84/month for the simplest configuration (no redundancy etc) for 100 RU/s.

现在,我尝试将我的集装箱的RU数量设置为100,但它只允许我设置400或更多,在这种情况下,我的账单是〜$ 23/month,对于我来说,这对于我的数据库来说是一个很大的数目每5分钟获取1个文档.

Now I tried to set my number of RU's for my container to 100, but it only let me set 400 or more, in which case my bill is ~$23/month, which looks a lot to me, for a database which gets 1 document per 5 minutes.

不可能达到100 RU/s吗?

Is the 100 RU/s not possible?

推荐答案

从计费角度看,我们为单个cosmos数据库支付的最低金额为400 RU/s的吞吐量.(在该数据库中是单个容器还是多个容器都没有关系).

From billing perspective, the minimum amount we have to pay for a single cosmos database is for 400 RU/s throughput. (It does not matter whether we have single container or multiple containers within that database).

在Cosmos DB中,我们可以设置吞吐量
1)在数据库级别(此吞吐量在数据库中的所有容器之间共享-它可以是一个或多个容器).
(或)
2)在容器级别(在Azure Cosmos容器上提供的此吞吐量是专门为该容器保留的.)

In Cosmos DB, We can provision throughput either
1) at database level (This throughput is shared across all the containers in the database - it could be one or more containers).
(Or)
2) at container level (This throughput provisioned on an Azure Cosmos container is exclusively reserved for that container).

如果吞吐量是在数据库级别提供的(最低要求为400 RU/s),则可以将该数据库内的各个容器配置为最低100 RU/s的专用吞吐量.

If the throughput is provisioned at database level (minimum required is 400 RU/s), then individual containers within that database can be configured to a dedicated throughput at a minimum of 100 RU/s.

如果未在数据库级别提供吞吐量,则必须为该数据库中的各个容器配置最低吞吐量为400 RU/s.

If the throughput is NOT provisioned at database level, then individual containers within that database has to be configured for a minimum throughput of 400 RU/s.

这篇关于如何将我的CosmosDb容器的RU/s设置为低于400?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆