如何重新配置 Cosmos 数据库以共享容器吞吐量
How to reconfigure a Cosmos database to have shared container throughput
我有一个包含多个容器的数据库,这些容器具有自己配置的吞吐量。有一个新的 Cosmos DB 功能 allows all containers within a database to share throughput。我可以创建一个启用此功能的新数据库,但我似乎无法更改现有数据库以利用此功能。有没有办法在现有数据库上启用此功能,还是我必须创建一个新数据库并将所有容器迁移到它?
您必须创建一个新数据库。不支持更改现有数据库:
A container with provisioned throughput cannot be converted to shared database container. Conversely a shared database container cannot be converted to have a dedicated throughput.
我有一个包含多个容器的数据库,这些容器具有自己配置的吞吐量。有一个新的 Cosmos DB 功能 allows all containers within a database to share throughput。我可以创建一个启用此功能的新数据库,但我似乎无法更改现有数据库以利用此功能。有没有办法在现有数据库上启用此功能,还是我必须创建一个新数据库并将所有容器迁移到它?
您必须创建一个新数据库。不支持更改现有数据库:
A container with provisioned throughput cannot be converted to shared database container. Conversely a shared database container cannot be converted to have a dedicated throughput.