Skip to content

Commit b7b77fc

Browse files
authored
Merge pull request #230391 from richagaur/richagaur/autoscale-ru/gb-update
RU/GB constraints updated for autoscale
2 parents ca7b338 + b221fb1 commit b7b77fc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/cosmos-db/autoscale-faq.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ sections:
130130
- question: |
131131
What is the storage limit associated with each max RU/s option?
132132
answer: |
133-
The storage limit in GB for each max RU/s is: Max RU/s of database or container / 100. For example, if the max RU/s is 20,000 RU/s, the resource can support 200 GB of storage.
133+
The storage limit in GB for each max RU/s is: Max RU/s of database or container / 10. For example, if the max RU/s is 20,000 RU/s, the resource can support 2000 GB of storage.
134134
See the [autoscale limits](provision-throughput-autoscale.md#autoscale-limits) article for the available max RU/s and storage options.
135135
136136
- question: |
137137
What happens if I exceed the storage limit associated with my max throughput?
138138
answer: |
139139
If the storage limit associated with the max throughput of the database or container is exceeded, Azure Cosmos DB automatically increases the max throughput to the next highest RU/s that can support that level of storage.
140140
141-
For example, if you start with a max 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 - for example, storage is now 600 GB, the new maximum RU/s is 60,000 RU/s (scales between 6000 - 60,000 RU/s).
141+
For example, if you start with a max RU/s of 50,000 RU/s (scales between 5000 - 50,000 RU/s), you can store up to 5000 GB of data. If you exceed 5000 GB - for example, storage is now 6000 GB, the new maximum RU/s is 60,000 RU/s (scales between 6000 - 60,000 RU/s).
142142
143143
- question: |
144144
Can I change the max RU/s on the database or container?
@@ -153,13 +153,13 @@ sections:
153153
- question: |
154154
Lowering the max RU/s
155155
answer: |
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.
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 * 10)`, rounded to the nearest 1000 RU/s.
157157
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).
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 1500 GB of storage. The lowest, minimum value you can set max RU/s to is: MAX(1000, 20,000 / 10, **1500 * 10**) = 15,000 RU/s (scales between 1500 - 15,000 RU/s).
159159
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).
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 * 10) = 15,000 RU/s (scales between 1500 - 15,000 RU/s).
161161
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.
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 * 10, 1000 + (MAX(Container count - 25, 0) * 1000))`, rounded to the nearest 1000 RU/s.
163163
164164
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 always scales between `0.1 * Tmax` to `Tmax`.
165165

articles/cosmos-db/provision-throughput-autoscale.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ Use the [Azure portal](how-to-provision-autoscale-throughput.md#enable-autoscale
5858

5959
## <a id="autoscale-limits"></a> Throughput and storage limits for autoscale
6060

61-
For any value of `Tmax`, the database or container can store a total of `0.01 * Tmax GB`. After this amount of storage is reached, the maximum RU/s will be automatically increased based on the new storage value, with no impact to your application.
61+
For any value of `Tmax`, the database or container can store a total of `0.1 * Tmax GB`. After this amount of storage is reached, the maximum RU/s will be automatically increased based on the new storage value, with no impact to your application.
6262

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).
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 5000 GB of data. If you exceed 500 GB - e.g. storage is now 6000 GB, the new maximum RU/s will be 60,000 RU/s (scales between 6000 - 60,000 RU/s).
6464

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.
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 100 GB of storage. See this [documentation](autoscale-faq.yml#can-i-change-the-max-ru-s-on-the-database-or-container--) for more information.
6666

6767
## Comparison – containers configured with manual vs autoscale throughput
6868
For more detail, see this [documentation](how-to-choose-offer.md) on how to choose between standard (manual) and autoscale throughput.

0 commit comments

Comments
 (0)