CosmosDB 选项 "production" 与 "non-production" 的真正作用是什么?

What does CosmosDB option "production" vs "non-production" really do?

当您在 Azure 门户中创建 CosmosDB 帐户时,您可以选择“帐户类型”,选项为:

门户中创建向导中的信息按钮仅提到:

Controls UI experience offered in the portal and Cosmos Explorer. Does not impact runtime behavior of the service. Can be changed later.

The documentation 确实很模糊:

This is an Azure resource tag setting that tunes the Portal experience but does not affect the underlying Azure Cosmos DB account. You can change this value anytime.

那些“调整过的”UI体验差异到底是什么?我没有注意到明显的差异,创建后我也无法在任何地方找到此设置,我也没有稍后查看更改此设置的方法..

看起来没有明显的区别,如果您在创建帐户时 select Production/Non-Production,它将 enable/disable Geo-RedundancyMulti-region Writes你自动设置,但你仍然可以手动设置它们。

当您创建两个帐户类型不同的帐户时,门户中的区别在于名为 CosmosAccountType 的标记,它将是 ProductionNon-Production,这是您可以随时更改文档中提到的值。

其实这个不用担心,只是select对应的类型要看实际场景生产或非生产,因为它不会影响基础 Cosmos DB 帐户。​​