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/cosmos-db/autoscale-faq.yml
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ metadata:
6
6
ms.author: dech
7
7
ms.service: cosmos-db
8
8
ms.topic: faq
9
-
ms.date: 02/23/2022
9
+
ms.date: 04/01/2022
10
10
11
11
title: Frequently asked questions about autoscale provisioned throughput in Azure Cosmos DB
12
12
summary: |
@@ -28,7 +28,11 @@ sections:
28
28
Resources that were created with the previous tier model are automatically supported with the new autoscale custom maximum RU/s model. The upper bound of the tier becomes the new maximum RU/s, which results in the same scale range.
29
29
30
30
For example, if you previously selected the tier that scaled between 400 to 4000 RU/s, the database or container will now show as having a maximum RU/s of 4000 RU/s, which scales between 400 to 4000 RU/s. From here, you can change the maximum RU/s to a custom value to suit your workload.
31
-
31
+
32
+
- question: |
33
+
What is the entry point RU/s for autoscale?
34
+
answer: |
35
+
Starting April 2022, you can set autoscale with max RU/s as low as 1000 RU/s (scales between 100 RU/s - 1000 RU/s). This also means you can set scale ranges of 200 - 2000 RU/s and 300 - 3000 RU/s. Previously, the entry point was 400 - 4000 RU/s. This configuration is recommended for workloads with low throughput requirements, but still may scale to the max RU/s.
32
36
- question: |
33
37
How quickly will autoscale scale up based on spikes in traffic?
34
38
answer: |
@@ -54,7 +58,7 @@ sections:
54
58
- question: |
55
59
Does autoscale work with reserved capacity?
56
60
answer: |
57
-
Yes. When you purchase reserved capacity for accounts with single write regions, the reservation discount for autoscale resources is applied to your meter usage at a ratio of 1.5 * the [ratio of the specific region](../cost-management-billing/reservations/understand-cosmosdb-reservation-charges.md#reservation-discount-per-region).
61
+
Yes. When you purchase reserved capacity for accounts with single write regions, the reservation discount for autoscale resources is applied to your meter usage at a ratio of 1.5 * the [ratio of the specific region](../cost-management-billing/reservations/understand-cosmosdb-reservation-charges.md#reservation-discount-per-region). For example, if you want to use reserved capacity to cover 10,000 autoscale RU/s, you should plan to purchase 15,000 RU/s of reserved capacity overall.
58
62
59
63
Multi-write region reserved capacity works the same for autoscale and standard (manual) provisioned throughput. See [Azure Cosmos DB reserved capacity](cosmos-db-reserved-capacity.md)
60
64
@@ -90,7 +94,7 @@ sections:
90
94
91
95
**Migration from standard (manual) provisioned throughput to autoscale**
92
96
93
-
For a container, use the following formula to estimate the initial autoscale max RU/s: ``MAX(4000, current manual provisioned RU/s, maximum RU/s ever provisioned / 10, storage in GB * 100)``, rounded to the nearest 1000 RU/s. The actual initial autoscale max RU/s may vary depending on your account configuration.
97
+
For a container, use the following formula to estimate the initial autoscale max RU/s: ``MAX(1000, current manual provisioned RU/s, maximum RU/s ever provisioned / 10, storage in GB * 100)``, rounded to the nearest 1000 RU/s. The actual initial autoscale max RU/s may vary depending on your account configuration.
94
98
95
99
Example #1: Suppose you have a container with 10,000 RU/s manual provisioned throughput, and 25 GB of storage. When you enable autoscale, the initial autoscale max RU/s will be: 10,000 RU/s, which will scale between 1000 - 10,000 RU/s.
96
100
@@ -149,13 +153,13 @@ sections:
149
153
- question: |
150
154
Lowering the max RU/s
151
155
answer: |
152
-
When you lower the max RU/s, the minimum value you can set it to is: `MAX(4000, highest max RU/s ever provisioned / 10, current storage in GB * 100)`, rounded to the nearest 1000 RU/s.
156
+
When you lower the max RU/s, the minimum value you can set it to is: `MAX(1000, highest max RU/s ever provisioned / 10, current storage in GB * 100)`, rounded to the nearest 1000 RU/s.
153
157
154
-
Example #1: Suppose you have an autoscale container with max RU/s of 20,000 RU/s (scales between 2000 - 20,000 RU/s) and 50 GB of storage. The lowest, minimum value you can set max RU/s to is: MAX(4000, 20,000 / 10, **50 * 100**) = 5000 RU/s (scales between 500 - 5000 RU/s).
158
+
Example #1: Suppose you have an autoscale container with max RU/s of 20,000 RU/s (scales between 2000 - 20,000 RU/s) and 50 GB of storage. The lowest, minimum value you can set max RU/s to is: MAX(1000, 20,000 / 10, **50 * 100**) = 5000 RU/s (scales between 500 - 5000 RU/s).
155
159
156
-
Example #2: Suppose you have an autoscale container with max RU/s of 100,000 RU/s and 100 GB of storage. Now, you scale max RU/s up to 150,000 RU/s (scales between 15,000 - 150,000 RU/s). The lowest, minimum value you can now set max RU/s to is: MAX(4000, **150,000 / 10**, 100 * 100) = 15,000 RU/s (scales between 1500 - 15,000 RU/s).
160
+
Example #2: Suppose you have an autoscale container with max RU/s of 100,000 RU/s and 100 GB of storage. Now, you scale max RU/s up to 150,000 RU/s (scales between 15,000 - 150,000 RU/s). The lowest, minimum value you can now set max RU/s to is: MAX(1000, **150,000 / 10**, 100 * 100) = 15,000 RU/s (scales between 1500 - 15,000 RU/s).
157
161
158
-
For a shared throughput database, when you lower the max RU/s, the minimum value you can set it to is: `MAX(4000, highest max RU/s ever provisioned / 10, current storage in GB * 100, 4000 + (MAX(Container count - 25, 0) * 1000))`, rounded to the nearest 1000 RU/s.
162
+
For a shared throughput database, when you lower the max RU/s, the minimum value you can set it to is: `MAX(1000, highest max RU/s ever provisioned / 10, current storage in GB * 100, 1000 + (MAX(Container count - 25, 0) * 1000))`, rounded to the nearest 1000 RU/s.
159
163
160
164
The above formulas and examples relate to the minimum autoscale max RU/s you can set, and is distinct from the `0.1 * Tmax` to `Tmax` range the system automatically scales between. No matter what the max RU/s is, the system will always scale between `0.1 * Tmax` to `Tmax`.
Copy file name to clipboardExpand all lines: articles/cosmos-db/concepts-limits.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ You can provision throughput at a container-level or a database-level in terms o
39
39
40
40
### Minimum throughput limits
41
41
42
-
A Cosmos container (or shared throughput database) must have a minimum throughput of 400 RU/s. As the container grows, Cosmos DB requires a minimum throughput to ensure the database or container has sufficient resource for its operations.
42
+
A Cosmos container (or shared throughput database) using manual throughput must have a minimum throughput of 400 RU/s. As the container grows, Cosmos DB requires a minimum throughput to ensure the database or container has sufficient resource for its operations.
43
43
44
44
The current and minimum throughput of a container or a database can be retrieved from the Azure portal or the SDKs. For more information, see [Provision throughput on containers and databases](set-throughput.md).
45
45
@@ -69,16 +69,16 @@ Example: Suppose you have a database provisioned with 400 RU/s, 15 GB of storage
69
69
70
70
**Note:** the minimum throughput of 10 RU/s per GB of storage can be lowered if your account is eligible to our ["high storage / low throughput" program](set-throughput.md#high-storage-low-throughput-program).
71
71
72
-
In summary, here are the minimum provisioned RU limits.
72
+
In summary, here are the minimum provisioned RU limits when using manual throughput.
73
73
74
74
| Resource | Default limit |
75
75
| --- | --- |
76
-
| Minimum RUs per container ([dedicated throughput provisioned mode](./account-databases-containers-items.md#azure-cosmos-containers)) | 400 |
77
-
| Minimum RUs per database ([shared throughput provisioned mode](./account-databases-containers-items.md#azure-cosmos-containers)) | 400 RU/s for first 25 containers. |
76
+
| Minimum RUs per container ([dedicated throughput provisioned mode with manual throughput](./account-databases-containers-items.md#azure-cosmos-containers)) | 400 |
77
+
| Minimum RUs per database ([shared throughput provisioned mode with manual throughput](./account-databases-containers-items.md#azure-cosmos-containers)) | 400 RU/s for first 25 containers. |
78
78
79
79
Cosmos DB supports programmatic scaling of throughput (RU/s) per container or database via the SDKs or portal.
80
80
81
-
Depending on the current RU/s provisioned and resource settings, each resource can scale synchronously and immediately between the minimum RU/s to up to 100x the minimum RU/s. If the requested throughput value is outside the range, scaling is performed asynchronously. Asynchronous scaling may take minutes to hours to complete depending on the requested throughput and data storage size in the container.
81
+
Depending on the current RU/s provisioned and resource settings, each resource can scale synchronously and immediately between the minimum RU/s to up to 100x the minimum RU/s. If the requested throughput value is outside the range, scaling is performed asynchronously. Asynchronous scaling may take minutes to hours to complete depending on the requested throughput and data storage size in the container. [Learn more.](scaling-provisioned-throughput-best-practices.md#background-on-scaling-rus)
82
82
83
83
### Serverless
84
84
@@ -206,8 +206,8 @@ See the [Autoscale](provision-throughput-autoscale.md#autoscale-limits) article
206
206
| Minimum RU/s the system can scale to |`0.1 * Tmax`|
207
207
| Current RU/s the system is scaled to |`0.1*Tmax <= T <= Tmax`, based on usage|
208
208
| Minimum billable RU/s per hour|`0.1 * Tmax` <br></br>Billing is done on a per-hour basis, where you are billed for the highest RU/s the system scaled to in the hour, or `0.1*Tmax`, whichever is higher. |
209
-
| Minimum autoscale max RU/s for a container |`MAX(4000, highest max RU/s ever provisioned / 10, current storage in GB * 100)` rounded to nearest 1000 RU/s |
210
-
| Minimum autoscale max RU/s for a database | `MAX(4000, highest max RU/s ever provisioned / 10, current storage in GB * 100, 4000 + (MAX(Container count - 25, 0) * 1000))`, rounded to nearest 1000 RU/s. <br></br>Note if your database has more than 25 containers, the system increments the minimum autoscale max RU/s by 1000 RU/s per additional container. For example, if you have 30 containers, the lowest autoscale maximum RU/s you can set is 9000 RU/s (scales between 900 - 9000 RU/s).
209
+
| Minimum autoscale max RU/s for a container |`MAX(1000, highest max RU/s ever provisioned / 10, current storage in GB * 100)` rounded to nearest 1000 RU/s |
210
+
| Minimum autoscale max RU/s for a database | `MAX(1000, highest max RU/s ever provisioned / 10, current storage in GB * 100, 1000 + (MAX(Container count - 25, 0) * 1000))`, rounded to nearest 1000 RU/s. <br></br>Note if your database has more than 25 containers, the system increments the minimum autoscale max RU/s by 1000 RU/s per additional container. For example, if you have 30 containers, the lowest autoscale maximum RU/s you can set is 6000 RU/s (scales between 600 - 6000 RU/s).
Copy file name to clipboardExpand all lines: articles/cosmos-db/how-to-choose-offer.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to choose between standard (manual) provisioned throughpu
4
4
author: deborahc
5
5
ms.service: cosmos-db
6
6
ms.topic: conceptual
7
-
ms.date: 08/19/2020
7
+
ms.date: 04/01/2022
8
8
ms.author: dech
9
9
---
10
10
@@ -40,7 +40,7 @@ Whether you plan to use standard (manual) or autoscale, here's what you should c
40
40
41
41
If you provision standard (manual) RU/s at the entry point of 400 RU/s, you won't be able to consume above 400 RU/s, unless you manually change the throughput. You'll be billed for 400 RU/s at the standard (manual) provisioned throughput rate, per hour.
42
42
43
-
If you provision autoscale throughput at the entry point of max RU/s of 4000 RU/s, the resource will scale between 400 to 4000 RU/s. Since the autoscale throughput billing rate per RU/s is 1.5x of the standard (manual) rate, for hours where the system has scaled down to the minimum of 400 RU/s, your bill will be higher than if you provisioned 400 RU/s manually. However, with autoscale, at any time, if your application traffic spikes, you can consume up to 4000 RU/s with no user action required. In general, you should weigh the benefit of being able to consume up to the max RU/s at any time with the 1.5x rate of autoscale.
43
+
If you provision autoscale throughput with max RU/s of 4000 RU/s, the resource will scale between 400 to 4000 RU/s. Since the autoscale throughput billing rate per RU/s is 1.5x of the standard (manual) rate, for hours where the system has scaled down to the minimum of 400 RU/s, your bill will be higher than if you provisioned 400 RU/s manually. However, with autoscale, at any time, if your application traffic spikes, you can consume up to 4000 RU/s with no user action required. In general, you should weigh the benefit of being able to consume up to the max RU/s at any time with the 1.5x rate of autoscale.
44
44
45
45
Use the Azure Cosmos DB [capacity calculator](estimate-ru-with-capacity-planner.md) to estimate your throughput requirements.
Copy file name to clipboardExpand all lines: articles/cosmos-db/limit-total-account-throughput.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to limit the total throughput provisioned on your Azure C
4
4
author: ThomasWeiss
5
5
ms.service: cosmos-db
6
6
ms.topic: how-to
7
-
ms.date: 11/04/2021
7
+
ms.date: 03/31/2022
8
8
ms.author: thweiss
9
9
ms.custom: ignite-fall-2021
10
10
---
@@ -46,7 +46,7 @@ When creating a new Azure Cosmos DB account from the portal, you have the option
46
46
47
47
:::image type="content" source="./media/limit-total-account-throughput/create-account.png" alt-text="Screenshot of the Azure portal showing how to limit total account throughput when creating a new account" border="true":::
48
48
49
-
Checking this option will limit your account's total throughput to 4,000 RU/s. You can change this value after your account has been created.
49
+
Checking this option will limit your account's total throughput to 1,000 RU/s for a [free tier account](free-tier.md) and 4,000 RU/s for a regular, non-free tier account. You can change this value after your account has been created.
Copy file name to clipboardExpand all lines: articles/cosmos-db/provision-throughput-autoscale.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: kirillg
5
5
ms.author: kirillg
6
6
ms.service: cosmos-db
7
7
ms.topic: conceptual
8
-
ms.date: 05/18/2021
8
+
ms.date: 04/01/2022
9
9
ms.custom: "seo-nov-2020"
10
10
---
11
11
@@ -34,7 +34,7 @@ The use cases of autoscale include:
34
34
35
35
***Variable or unpredictable workloads:** When your workloads have variable or unpredictable spikes in usage, autoscale helps by automatically scaling up and down based on usage. Examples include retail websites that have different traffic patterns depending on seasonality; IOT workloads that have spikes at various times during the day; line of business applications that see peak usage a few times a month or year, and more. With autoscale, you no longer need to manually provision for peak or average capacity.
36
36
37
-
***New applications:** If you're developing a new application and not sure about the throughput (RU/s) you need, autoscale makes it easy to get started. You can start with the autoscale entry point of 400 - 4000 RU/s, monitor your usage, and determine the right RU/s over time.
37
+
***New applications:** If you're developing a new application and not sure about the throughput (RU/s) you need, autoscale makes it easy to get started. You can start with the autoscale entry point of 100 - 1000 RU/s, monitor your usage, and determine the right RU/s over time.
38
38
39
39
***Infrequently used applications:** If you have an application that's only used for a few hours several times a day, week, or month — such as a low-volume application/web/blog site — autoscale adjusts the capacity to handle peak usage and scales down when it's over.
40
40
@@ -50,7 +50,7 @@ When configuring containers and databases with autoscale, you specify the maximu
50
50
51
51
Each hour, you will be billed for the highest throughput `T` the system scaled to within the hour.
52
52
53
-
The entry point for autoscale maximum throughput `Tmax` starts at 4000 RU/s, which scales between 400 - 4000 RU/s. You can set `Tmax` in increments of 1000 RU/s and change the value at any time.
53
+
The entry point for autoscale maximum throughput `Tmax` starts at 1000 RU/s, which scales between 100 - 1000 RU/s. You can set `Tmax` in increments of 1000 RU/s and change the value at any time.
54
54
55
55
## Enable autoscale on existing resources
56
56
@@ -62,7 +62,7 @@ For any value of `Tmax`, the database or container can store a total of `0.01 *
62
62
63
63
For example, if you start with a maximum RU/s of 50,000 RU/s (scales between 5000 - 50,000 RU/s), you can store up to 500 GB of data. If you exceed 500 GB - e.g. storage is now 600 GB, the new maximum RU/s will be 60,000 RU/s (scales between 6000 - 60,000 RU/s).
64
64
65
-
When you use database level throughput with autoscale, you can have the first 25 containers share an autoscale maximum RU/s of 4000 (scales between 400 - 4000 RU/s), as long as you don't exceed 40 GB of storage. See this [documentation](autoscale-faq.yml#can-i-change-the-max-ru-s-on-the-database-or-container--) for more information.
65
+
When you use database level throughput with autoscale, you can have the first 25 containers share an autoscale maximum RU/s of 1000 (scales between 100 - 1000 RU/s), as long as you don't exceed 10 GB of storage. See this [documentation](autoscale-faq.yml#can-i-change-the-max-ru-s-on-the-database-or-container--) for more information.
66
66
67
67
## Comparison – containers configured with manual vs autoscale throughput
68
68
For more detail, see this [documentation](how-to-choose-offer.md) on how to choose between standard (manual) and autoscale throughput.
0 commit comments