azure - 用于扩展 RU 的 Cosmos DB 存储过程

标签 azure azure-cosmosdb

是否可以在 Cosmos DB 中编写一个存储过程来更改容器的 RU?我一直在看documentation from Microsoft ,但它主要讨论如何处理文档,而不是集合元数据。使用

获取集合很容易
getContext().getCollection()

但从那里我不确定我可以用它做什么来调整集合元数据。

我可以编写一个存储过程来调整 RU 吗?如果是的话,代码是什么样的?

最佳答案

无法通过 Cosmos DB 中的存储过程更改吞吐量

关于azure - 用于扩展 RU 的 Cosmos DB 存储过程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57009564/

相关文章:

具有 Next-auth OPError : expected 200 OK, 的 Azure AD B2C 得到:404 Not Found

azure - 用于将 Linux 服务器连接到 Azure Log Analytics 工作区的代理的名称是什么?

mongodb - 分片集合和 MongoDb

azure - 添加新集合时对 Azure Cosmos DB 模拟器的高要求

azure - 删除 Cosmos DB 容器是否会消耗 RU?

azure - Azure 数据库 for MySQL 和 Azure SQL 数据库之间的区别

postgresql - 如果超过 6 列,Azure 数据工厂复制管道将失败

c# - MSBuild 忽略/p :BuildProjectReferences=false on Azure build server

azure - Cosmos DB 警报

json - Azure Cosmos DB - 如何从文档中检索 json 属性,类似于从 SQL 表中检索列名