You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/reliability/reliability-cosmos-db-nosql.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,43 +25,40 @@ Azure Cosmos DB automatically mitigates [replica](/azure/cosmos-db/distribute-da
25
25
26
26
[!INCLUDE [Availability zone description](includes/reliability-availability-zone-description-include.md)]
27
27
28
-
Azure Cosmos DB supports *zone redundancy*. When you enable zone redundancy, Azure distributes the replicas across multiple availability zones, providing resiliency to datacenter problems and outages.
28
+
Azure Cosmos DB supports *zone redundancy*. When you enable zone redundancy, Azure distributes the replicas across multiple availability zones, providing resiliency to datacenter problems and outages. You can enable zone redundancy in Azure regions that supports availability zones. To see if your region supports availability zones, see the [list of supported regions](regions-list.md).
29
29
30
30
We recommend using zone redundancy in regions where it's supported, especially for single-region accounts.
31
31
32
-
### Prerequisites
32
+
### Zone redundancy and single-region accounts
33
33
34
-
You can enable zone redundancy in Azure regions that supports availability zones. To see if your region supports availability zones, see the [list of supported regions](regions-list.md).
34
+
When you have a single-region Cosmos DB account, it's important to be resilient to problems in an availability zone. Enabling zone redundancy guards against total availability loss due to the failure of an availability zone.
35
35
36
-
### Impact of using availability zones
37
-
38
-
The impact of zone redundancy on the high availability of your Cosmos DB for NoSQL database depends on the consistency level of the account and which regions have zone redundancy enabled. Consult the table below to estimate the impact of using availability zones in your account configuration:
39
-
40
-
| Regions with availability zones enabled | Account consistency level | Impact of using availability zones|
41
-
|----|---|---|
42
-
| Single region | All |**High benefit to zone redundancy.** Single region cannot benefit from multi-region failover capability. Enabling zone reudndancy guards against total availability loss due to the failure of an availability zone.|
43
-
| Write regions and any number of secondary regions | All |**High benefit of zone redundancy.** Ensures greater availability for write operations for availability zone failures. |
44
-
| One secondary read region |[Synchronous (Strong)](/azure/cosmos-db/consistency-levels#strong-consistency)|**High benefit of zone redundancy.** Provides greater value because the loss of a read region in this scenario can impact write availability.|
45
-
| Two or more secondary read regions |[Synchronous (Strong)](/azure/cosmos-db/consistency-levels#strong-consistency)|**Less value of zone redundancy.** Provides marginal value because the system can leverage dynamic quorum should a read region lose availability which allows for writes to continue.|
46
-
| One or more secondary read regions |[Asynchronous (Bounded Staleness or weaker)](/azure/cosmos-db/consistency-levels#bounded-staleness-consistency)|**Less value of zone redundancy.** Provides minimal value because the SDK already provides seamless redirects for reads when a read region fails.|
36
+
Because availability zones are physically separate and provide distinct power source, network, and cooling, the availability SLAs for Azure Cosmos DB are higher for zone-redundant accounts than accounts that don't use availability zones.
47
37
48
38
### Zone redundancy and multi-region accounts
49
39
50
40
If you have a multi-region account, you can optionally enable zone redundancy on any or all of the account regions that support availability zones. Multi-region accounts can achieve high availability service-level agreements (SLAs), and enabling zone redundancy can further enhance the overall availability SLAs you achieve in those regions.
51
41
42
+
The impact of zone redundancy on the high availability of your Cosmos DB for NoSQL database depends on the consistency level of the account and which regions have zone redundancy enabled. Consult the table below to estimate the impact of using availability zones in your account configuration:
43
+
44
+
| Account consistency level | Regions with availability zones enabled | Impact of using availability zones|
45
+
|---|----|---|
46
+
|[Synchronous (Strong)](/azure/cosmos-db/consistency-levels#strong-consistency)| One secondary read region |**High benefit of zone redundancy.** Provides greater value because the loss of a read region in this scenario can impact write availability.|
47
+
|[Synchronous (Strong)](/azure/cosmos-db/consistency-levels#strong-consistency)| Two or more secondary read regions |**Less value of zone redundancy.** Provides marginal value because the system can leverage dynamic quorum should a read region lose availability which allows for writes to continue.|
48
+
|[Asynchronous (Bounded Staleness or weaker)](/azure/cosmos-db/consistency-levels#bounded-staleness-consistency)| One or more secondary read regions |**Less value of zone redundancy.** Provides minimal value because the SDK already provides seamless redirects for reads when a read region fails.|
49
+
| Any | All write regions and any number of secondary regions |**High benefit of zone redundancy.** Ensures greater availability for write operations for availability zone failures. |
50
+
52
51
### Cost of enabling zone redundancy
53
52
54
-
Regions where zone redundancy is enabled are charged at a 25% premium, while those without zone redundancy enabled don't incur the premium. Moreover, the premium pricing for availability zones is waived for accounts configured with multi-region writes and/or for collections configured with autoscale mode.
53
+
Regions where zone redundancy is enabled are charged at a 25% premium. However, the premium pricing for availability zones is waived for accounts configured with multi-region writes and/or for collections configured with autoscale mode.
55
54
56
55
Adding an additional region to Cosmos DB account typically increases existing bill by 100% for each region, though small variations in cost across regions exist.
57
56
58
57
For more details, see [pricing page](https://azure.microsoft.com/pricing/details/cosmos-db/autoscale-provisioned/).
59
58
60
59
### SLA improvements
61
60
62
-
Because availability zones are physically separate and provide distinct power source, network, and cooling, the availability SLAs for Azure Cosmos DB are higher for multi-region accounts than accounts with a single region.
63
-
64
-
Enabling zone redundancy, adding one or more additional regions, or enabling multi-region writes can be thought as a layering approach that increases resiliency and availability of a given Azure Cosmos DB account at each step of the way - from 4 9's availability for a single-region configuration without zone redundancy, through 4 and half 9's for single region with zone redundancy, all the way to 5 9's of availability for multi-region configuration with the multi-region write option enabled. Please refer to the following table for a summary of SLAs for each configuration.
61
+
Enabling zone redundancy, adding one or more additional regions, and enabling multi-region writes can be thought as a layering approach that increases resiliency and availability of a given Azure Cosmos DB account at each step of the way - from 4 9's availability for a single-region configuration without zone redundancy, through 4 and half 9's for single region with zone redundancy, all the way to 5 9's of availability for multi-region configuration with the multi-region write option enabled. Please refer to the following table for a summary of SLAs for each configuration.
65
62
66
63
|KPI|Single-region writes without availability zones|Single-region writes with availability zones|Multiple-region, single-region writes without availability zones|Multiple-region, single-region writes with availability zones|Multiple-region, multiple-region writes with or without availability zones|
0 commit comments