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.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Frequently asked questions on autoscale mode in Azure Cosmos DB
2
+
title: Frequently asked questions on autoscale provisioned throughput in Azure Cosmos DB
3
3
description: Frequently asked questions about autoscale provisioned throughput for Azure Cosmos DB databases and containers
4
4
author: deborahc
5
5
ms.author: dech
@@ -10,36 +10,36 @@ ms.date: 04/28/2020
10
10
11
11
# Frequently asked questions about autoscale provisioned throughput in Azure Cosmos DB
12
12
13
-
With provisioned throughput in autoscale mode, Azure Cosmos DB will automatically manage and scale the RU/s of your container or database based on usage. This article answers commonly asked questions about autoscale.
13
+
With autoscale provisioned throughput, Azure Cosmos DB will automatically manage and scale the RU/s of your container or database based on usage. This article answers commonly asked questions about autoscale.
14
14
15
15
## Frequently asked questions
16
16
17
-
### Is autoscale mode supported for all APIs?
18
-
Yes, autoscale mode is supported for all APIs: Core (SQL), Gremlin, Table, Cassandra, and API for MongoDB.
17
+
### Is autoscale supported for all APIs?
18
+
Yes, autoscale is supported for all APIs: Core (SQL), Gremlin, Table, Cassandra, and API for MongoDB.
19
19
20
-
### Is autoscale mode supported for multi-master accounts?
21
-
Yes, autoscale mode is supported for multi-master accounts. The max RU/s are available in each region that is added to the Cosmos account.
20
+
### Is autoscale supported for multi-master accounts?
21
+
Yes, autoscale is supported for multi-master accounts. The max RU/s are available in each region that is added to the Cosmos account.
22
22
23
-
### What is the pricing for autoscale?
23
+
### What is the pricing for autoscale?
24
24
Refer to the Azure Cosmos DB [pricing page](https://azure.microsoft.com/pricing/details/cosmos-db/) for details.
25
25
26
26
### How do I enable autoscale for my containers or databases?
27
-
Autoscale mode can be enabled on new containers and databases created using the Azure portal.
27
+
Autoscale can be enabled on new containers and databases created using the Azure portal.
28
28
29
-
### Is there CLI or SDK support to create containers or databases with autoscale mode?
30
-
Currently, you can only create resources with autoscale mode from the Azure portal. Support for CLI and SDK is not yet available.
29
+
### Is there CLI or SDK support to create containers or databases with autoscale provisioned throughput?
30
+
Currently, you can only create resources with autoscale provisioned throughput from the Azure portal. Support for CLI and SDK is not yet available.
31
31
32
32
### Can I enable autoscale on an existing container or a database?
33
-
Currently, you can enable autoscale on new containers and databases when creating them. Support to enable autoscale mode on existing containers and databases is not yet available. You can migrate existing containers to a new container using [Azure Data Factory](../data-factory/connector-azure-cosmos-db.md) or [change feed](change-feed.md).
33
+
Currently, you can enable autoscale on new containers and databases when creating them. Support to enable autoscale on existing containers and databases is not yet available. You can migrate existing containers to a new container using [Azure Data Factory](../data-factory/connector-azure-cosmos-db.md) or [change feed](change-feed.md).
34
34
35
-
### Can I turn off autoscale mode on a container or database?
36
-
Yes, you can turn off autoscale by switching to the 'Manual' option for the provisioned throughput. In the current release, after switching from autoscale mode to manual mode, you cannot enable autoscale again for the same resource.
35
+
### Can I turn off autoscale on a container or database?
36
+
Yes, you can turn off autoscale by switching to the 'standard (Manual)' option for the provisioned throughput. In the current release, after switching from autoscale to standard provisioned throughput, you cannot enable autoscale again for the same resource.
37
37
38
-
### Is autoscale mode supported for shared throughput databases?
39
-
Yes, autoscale mode is supported for shared throughput databases. To enable this feature, select autoscale mode and the **Provision throughput** option when creating the database.
38
+
### Is autoscale supported for shared throughput databases?
39
+
Yes, autoscale is supported for shared throughput databases. To enable this feature, select autoscale and the **Provision throughput** option when creating the database.
40
40
41
41
### What is the number of allowed collections per shared throughput database when autoscale is enabled?
42
-
For shared throughput databases with autoscale mode enabled, the number of allowed collections is: MIN(25, Max RU/s of database / 1000). For example, if the max throughput of the database is 20,000 RU/s, the database can have MIN(25, 20,000 RU/s / 1000) = 20 collections.
42
+
For shared throughput databases with autoscale enabled, the number of allowed collections is: MIN(25, Max RU/s of database / 1000). For example, if the max throughput of the database is 20,000 RU/s, the database can have MIN(25, 20,000 RU/s / 1000) = 20 collections.
43
43
44
44
45
45
### What is the storage limit associated with each max RU/s option?
@@ -50,13 +50,13 @@ See the [autoscale limits](provision-throughput-autoscale.md#autoscale-limits) a
50
50
If the storage limit associated with the max throughput of the database or container is exceeded, Azure Cosmos DB will automatically increase the max throughput to the next highest tier that can support that level of storage. For example, suppose a database or container is provisioned with the 4000 RU/s max throughput option, which has a storage limit of 50 GB. If the storage of the resource increases to 100 GB, the max RU/s of the database or container will be automatically increased to 20,000 RU/s, which can support up to 200 GB.
51
51
52
52
### How quickly will autoscale up and down based on spikes in traffic?
53
-
In autoscale mode, you can instantaneously scale up or scale down the RU/s within the minimum and maximum RU/s range, based on incoming traffic. Billing is done at a 1-hour granularity, where you are charged for the highest RU/s in a particular hour.
53
+
With autoscale, you can instantaneously scale up or scale down the RU/s within the minimum and maximum RU/s range, based on incoming traffic. Billing is done at a 1-hour granularity, where you are charged for the highest RU/s in a particular hour.
54
54
55
-
### Can I specify a custom max throughput (RU/s) value for autoscale mode?
55
+
### Can I specify a custom max throughput (RU/s) value for autoscale?
56
56
Currently, you can select between [four options](provision-throughput-autoscale.md#autoscale-limits) for max throughput (RU/s).
57
57
58
58
### Can I increase the max RU/s (move to a higher tier) on the database or container?
59
-
Yes. From the **Scale & Settings** option for your container, or **Scale** option for your database, you can select a higher max RU/s for autoscale mode. This is an asynchronous scale-up operation that may take sometime to complete (typically 4-6 hours, depending on the RU/s selected) as the service provisions more resources to support the higher scale.
59
+
Yes. From the **Scale & Settings** option for your container, or **Scale** option for your database, you can select a higher max RU/s for autoscale. This is an asynchronous scale-up operation that may take sometime to complete (typically 4-6 hours, depending on the RU/s selected) as the service provisions more resources to support the higher scale.
60
60
61
61
### Can I reduce the max RU/s (move to a lower tier) on the database or container?
62
62
Yes. As long as the current storage of the database or container is below the [storage limit](#what-is-the-storage-limit-associated-with-each-max-rus-option) associated with the max RU/s tier you want to scale down to, you can reduce the max RU/s to that tier. For example, if you have selected 20,000 RU/s as the max RU/s, you can scale down the max RU/s to 4000 RU/s if you have less than 50 GB of storage (the storage limit associated with 4000 RU/s).
@@ -82,5 +82,5 @@ For example, if you select the 20,000 RU/s max throughput option and have 200 GB
82
82
## Next steps
83
83
84
84
* Learn how to [enable autoscale on an Azure Cosmos container or database](provision-throughput-autoscale.md#create-db-container-autoscale).
85
-
* Learn about the [benefits of provisioned throughput in autoscale mode](provision-throughput-autoscale.md#autoscale-benefits).
85
+
* Learn about the [benefits of provisioned throughput with autoscale ](provision-throughput-autoscale.md#autoscale-benefits).
86
86
* Learn more about [logical and physical partitions](partition-data.md).
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-cassandra-with-resource-manager.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ To create any of the Azure Cosmos DB resources below, copy the following example
24
24
25
25
<aid="create-autoscale"></a>
26
26
27
-
## Azure Cosmos account for Cassandra with autoscale throughput
27
+
## Azure Cosmos account for Cassandra with autoscale provisioned throughput
28
28
29
29
This template creates an Azure Cosmos account in two regions with options for consistency and failover, with a keyspace and table configured for autoscale throughput. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
30
30
@@ -34,9 +34,9 @@ This template creates an Azure Cosmos account in two regions with options for co
34
34
35
35
<aid="create-manual"></a>
36
36
37
-
## Azure Cosmos account for Cassandra with manual throughput
37
+
## Azure Cosmos account for Cassandra with standard (manual) provisioned throughput
38
38
39
-
This template creates an Azure Cosmos account in two regions with options for consistency and failover, with a keyspace and table configured for manual throughput. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
39
+
This template creates an Azure Cosmos account in two regions with options for consistency and failover, with a keyspace and table configured for standard throughput. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
40
40
41
41
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cosmosdb-cassandra%2Fazuredeploy.json)
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-mongodb-with-resource-manager.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ To create any of the Azure Cosmos DB resources below, copy the following example
24
24
25
25
<aid="create-autoscale"></a>
26
26
27
-
## Azure Cosmos account for MongoDB with autoscale throughput
27
+
## Azure Cosmos account for MongoDB with autoscale provisioned throughput
28
28
29
29
This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) with two collections that share autoscale throughput at the database level. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
30
30
@@ -34,9 +34,9 @@ This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) w
34
34
35
35
<aid="create-manual"></a>
36
36
37
-
## Azure Cosmos account for MongoDB with manual throughput
37
+
## Azure Cosmos account for MongoDB with standard provisioned throughput
38
38
39
-
This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) with two collections that share 400 RU/s manual throughput at the database level. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
39
+
This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) with two collections that share 400 RU/s standard (manual) throughput at the database level. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
40
40
41
41
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cosmosdb-mongodb%2Fazuredeploy.json)
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-scale-cassandra.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
@@ -53,9 +53,9 @@ You can scale the system dynamically with code by executing the [CQL ALTER comma
53
53
54
54
The advantage of this approach is that it allows you to respond to scale needs dynamically and in a custom way that suits your application. With this approach, you can still leverage the standard RU/s charges and rates. If your system's scale needs are mostly predictable (around 70% or more), using SDK with CQL may be a more cost-effective method of auto-scaling than using autoscale. The disadvantage of this approach is that it can be quite complex to implement retries while rate limiting may increase latency.
In addition to manual or programmatic way of provisioning throughput, you can also configure Azure cosmos containers in autoscale mode. Autoscale mode will automatically and instantly scale to your consumption needs within specified RU ranges without compromising SLAs. To learn more, see the [Create Azure Cosmos containers and databases in autoscale mode](provision-throughput-autoscale.md) article.
58
+
In addition to standard (manual) or programmatic way of provisioning throughput, you can also configure Azure cosmos containers in autoscale provisioned throughput. Autoscale will automatically and instantly scale to your consumption needs within specified RU ranges without compromising SLAs. To learn more, see the [Create Azure Cosmos containers and databases in autoscale](provision-throughput-autoscale.md) article.
59
59
60
60
The advantage of this approach is that it is the easiest way to manage the scaling needs in your system. It guarantees not to apply rate-limiting **within the configured RU ranges**. The disadvantage is that, if the scaling needs in your system are predictable, autoscale may be a less cost-effective way of handling your scaling needs than using the bespoke control plane or SDK level approaches mentioned above.
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-sql-with-resource-manager.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
@@ -35,9 +35,9 @@ This template creates an Azure Cosmos account in two regions with options for co
35
35
36
36
<aid="create-manual"></a>
37
37
38
-
## Azure Cosmos account with manual throughput
38
+
## Azure Cosmos account with standard (manual) throughput
39
39
40
-
This template creates an Azure Cosmos account in two regions with options for consistency and failover, with database and container configured for manual throughput that has most policy options enabled. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
40
+
This template creates an Azure Cosmos account in two regions with options for consistency and failover, with database and container configured for standard throughput that has most policy options enabled. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
41
41
42
42
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cosmosdb-sql%2Fazuredeploy.json)
Copy file name to clipboardExpand all lines: articles/cosmos-db/manage-table-with-resource-manager.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
@@ -37,9 +37,9 @@ This template will create an Azure Cosmos account for Table API with one table w
37
37
38
38
<aid="create-manual"></a>
39
39
40
-
## Azure Cosmos account for Table with manual throughput
40
+
## Azure Cosmos account for Table with standard (manual) throughput
41
41
42
-
This template will create an Azure Cosmos account for Table API with one table with manual throughput. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
42
+
This template will create an Azure Cosmos account for Table API with one table with standard throughput. This template is also available for one-click deploy from Azure Quickstart Templates Gallery.
43
43
44
44
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cosmosdb-table%2Fazuredeploy.json)
Copy file name to clipboardExpand all lines: articles/cosmos-db/mongodb-pre-migration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ If you have already completed the above pre-requisites for migration, you can [M
25
25
26
26
The following are specific characteristics about Azure Cosmos DB's API for MongoDB:
27
27
28
-
-**Capacity model**: Database capacity on Azure Cosmos DB is based on a throughput-based model. This model is based on [Request Units per second](request-units.md), which is a unit that represents the number of database operations that can be executed against a collection on a per-second basis. This capacity can be allocated at [a database or collection level](set-throughput.md), and it can be provisioned on an allocation model, or using the [Autoscale model](provision-throughput-autoscale.md).
28
+
-**Capacity model**: Database capacity on Azure Cosmos DB is based on a throughput-based model. This model is based on [Request Units per second](request-units.md), which is a unit that represents the number of database operations that can be executed against a collection on a per-second basis. This capacity can be allocated at [a database or collection level](set-throughput.md), and it can be provisioned on an allocation model, or using the [autoscale provisioned throughput](provision-throughput-autoscale.md).
29
29
30
30
-**Request Units**: Every database operation has an associated Request Units (RUs) cost in Azure Cosmos DB. When executed, this is subtracted from the available request units level on a given second. If a request requires more RUs than the currently allocated RU/s there are two options to solve the issue - increase the amount of RUs, or wait until the next second starts and then retry the operation.
0 commit comments