You can configure the default consistency level on your Azure Cosmos DB account at any time. The default consistency level configured on your account applies to all Azure Cosmos DB databases and containers under that account.
Azure Cosmos DB offers five well-defined levels. From strongest to weakest, the levels are:
The default consistency level is the consistency level that clients use by default.
- Go to Azure Portal
- Go to your Azure Cosmos DB account, then open the Default consistency pane
- Select the level of consistency you want as the new default, and then select Save.
Set a consistency level that is different from the default
The service has the ability to alter its default consistency level. The default consistency level specified at the account level can be overridden by setting the consistency level on a per-request basis.
Note:: Overriding the default consistency level only applies to reads within the SDK client. An account configured for strong consistency by default will still write and replicate data synchronously to every region in the account. When the SDK client instance or request overrides this with Session or weaker consistency, reads will be performed using a single replica.