Skip to content

Commit 7146e2e

Browse files
committed
changes
1 parent 12dc231 commit 7146e2e

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

articles/cosmos-db/concepts-limits.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,42 @@ After you create an Azure Cosmos account under your subscription, you can manage
1717

1818
| Resource | Default limit |
1919
| --- | --- |
20-
| Maximum RU per container ([dedicated throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 1000000 <sup>1</sup>|
21-
| Maximum RU per database ([shared throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 1000000 <sup>1</sup>|
22-
| Maximum RU per (logical) partition key | 10000 |
20+
| Maximum RUs per container ([dedicated throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 1,000,000 by default. You can increase it by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request) or contacting us via [Ask Cosmos DB](mailto:[email protected]) |
21+
| Maximum RUs per database ([shared throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 1,000,000 by default. You can increase it by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request) or contacting us via [Ask Cosmos DB](mailto:[email protected]) |
22+
| Maximum RUs per (logical) partition key | 10,000 |
2323
| Maximum storage across all items per (logical) partition key| 10 GB |
2424
| Maximum number of distinct (logical) partition keys | Unlimited |
2525
| Maximum storage per container | Unlimited |
2626
| Maximum storage per database | Unlimited |
2727

2828
> [!NOTE]
29-
> You can increase throughput beyond 1M RUs by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request).
30-
>
3129
> For best practices to manage workloads that have partition keys that need higher limits for storage or throughput, see [Designing for Hot Partition Keys](synthetic-partition-keys.md)
3230
>
3331
3432
A Cosmos container (or shared throughput database) must have a minimum throughput of 400 RUs. As the container grows, the minimum supported throughput also depends on the following factors:
3533

36-
* The maximum storage consumed in the container, measured in increments of 40 RU per GB consumed. For example, if a container contains 100 GB of data, then the throughput must be at least 4000 RUs
34+
* The maximum storage consumed in the container is measured in increments of 40 RUs per GB of consumed storage. For example, if a container contains 100 GB of data, then the throughput must be at least 4000 RUs
3735
* The maximum throughput ever provisioned on the container. The service supports lowering throughput of a container to 10% of the provisioned maximum. For example, if your throughput was increased to 10000 RUs, then the lowest possible provisioned throughput would be 1000 RUs
3836
* The total number of containers that you have ever created in a shared database, measured at 100 RUs per container. For example, if you have created five containers within a shared database, then the throughput must be at least 500 RUs
3937

4038
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). In summary, here are the minimum provisioned RU limits.
4139

4240
| Resource | Default limit |
4341
| --- | --- |
44-
| Minimum RU per container ([dedicated throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 400 |
45-
| Minimum RU per database ([shared throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 400 |
46-
| Minimum RU per container within a shared throughput database | 100 |
47-
| Minimum RU per GB of consumed storage | 40 |
42+
| Minimum RUs per container ([dedicated throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 400 |
43+
| Minimum RUs per database ([shared throughput provisioned mode](databases-containers-items.md#azure-cosmos-containers)) | 400 |
44+
| Minimum RUs per container within a shared throughput database | 100 |
45+
| Minimum RUs per GB of consumed storage | 40 |
4846

4947
Cosmos DB supports elastic scaling of throughput (RUs) per container or database via the SDKs or portal. Each container can scale synchronously and immediately within a scale range of 10 to 100 times, between minimum and maximum values. 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.
5048

51-
## Management operations
49+
## Control plane operations
5250
You can [provision and manage your Azure Cosmos account](how-to-manage-database-account.md) using the Azure portal, Azure PowerShell, Azure CLI, and Azure Resource Manager templates. The following table lists the limits per subscription, account, and number of operations.
5351

5452
| Resource | Default limit |
5553
| --- | --- |
56-
| Maximum database accounts per subscription |50 <sup>1</sup>|
57-
| Maximum regions per database account |30 <sup>1</sup>|
58-
| Maximum number of regional failovers |1/hour <sup>1</sup>|
54+
| Maximum database accounts per subscription | 50 by default. You can increase it by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request) or contacting us via [Ask Cosmos DB](mailto:[email protected])|
55+
| Maximum number of regional failovers | 1/hour by default. You can increase it by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request) or contacting us via [Ask Cosmos DB](mailto:[email protected])|
5956

6057
> [!NOTE]
6158
> Regional failovers only apply to single region writes accounts. Multi-region write accounts do not require or have any limits on changing the write region.
@@ -68,11 +65,13 @@ Depending on which API you use, an Azure Cosmos container can represent either a
6865
| Resource | Default limit |
6966
| --- | --- |
7067
| Maximum length of database or container name | 255 |
71-
| Maximum stored procedures per container | 100 <sup>1</sup>|
72-
| Maximum UDFs per container | 25 <sup>1</sup>|
73-
| Maximum number of paths in indexing policy| 100 <sup>1</sup>|
74-
| Maximum number of unique keys per container|10 <sup>1</sup>|
75-
| Maximum number of paths per unique key constraint|16 <sup>1</sup>|
68+
| Maximum stored procedures per container | 100 <sup>*</sup>|
69+
| Maximum UDFs per container | 25 <sup>*</sup>|
70+
| Maximum number of paths in indexing policy| 100 <sup>*</sup>|
71+
| Maximum number of unique keys per container|10 <sup>*</sup>|
72+
| Maximum number of paths per unique key constraint|16 <sup>*</sup>|
73+
74+
<sup>*</sup> You can increase any of these per-contianer limits by contacting Azure Support or contacting us via [Ask Cosmos DB](mailto:[email protected]).
7675

7776
## Per-item limits
7877
Depending on which API you use, an Azure Cosmos item can represent either a document in a collection, a row in a table, or a node or edge in a graph. The following table shows the limits per item in Cosmos DB.
@@ -108,7 +107,7 @@ Cosmos DB uses HMAC for authorization. You can use either a master key, or a [re
108107
| --- | --- |
109108
| Maximum master token expiry time | 15 min |
110109
| Minimum resource token expiry time | 10 min |
111-
| Maximum resource token expiry time | 24 h <sup>1</sup>|
110+
| Maximum resource token expiry time | 24 h by default. You can increase it by [filing an Azure support ticket](https://docs.microsoft.com/azure/azure-supportability/how-to-create-azure-support-request) or contacting us via [Ask Cosmos DB](mailto:[email protected])|
112111
| Maximum clock skew for token authorization| 15 min |
113112

114113
Cosmos DB supports execution of triggers during writes. The service supports a maximum of one pre-trigger and one post-trigger per write operation.
@@ -118,14 +117,15 @@ Cosmos DB supports querying items using [SQL](how-to-sql-query.md). The followin
118117

119118
| Resource | Default limit |
120119
| --- | --- |
121-
| Maximum length of SQL query| 256 KB <sup>1</sup>|
122-
| Maximum JOINs per query| 5 <sup>1</sup>|
123-
| Maximum ANDs per query| 2000 <sup>1</sup>|
124-
| Maximum ORs per query| 2000 <sup>1</sup>|
125-
| Maximum UDFs per query| 10 <sup>1</sup>|
126-
| Maximum arguments per IN expression| 6000 <sup>1</sup>|
127-
| Maximum points per polygon| 4096 <sup>1</sup>|
120+
| Maximum length of SQL query| 256 KB <sup>*</sup>|
121+
| Maximum JOINs per query| 5 <sup>*</sup>|
122+
| Maximum ANDs per query| 2000 <sup>*</sup>|
123+
| Maximum ORs per query| 2000 <sup>*</sup>|
124+
| Maximum UDFs per query| 10 <sup>*</sup>|
125+
| Maximum arguments per IN expression| 6000 <sup>*</sup>|
126+
| Maximum points per polygon| 4096 <sup>*</sup>|
128127

128+
<sup>*</sup> You can increase any of these SQL query limits by contacting Azure Support or contacting us via [Ask Cosmos DB](mailto:[email protected]).
129129

130130
## MongoDB API-specific limits
131131
Cosmos DB supports the MongoDB wire protocol for applications written against MongoDB. You can find the supported commands and protocol versions at [Supported MongoDB features and syntax](mongodb-feature-support.md).
@@ -151,4 +151,4 @@ The following table lists the limits for the [Try Azure Cosmos DB for Free](http
151151

152152
Try Cosmos DB supports global distribution in only the Central US, North Europe, and Southeast Asia regions. Azure support tickets can't be created for Try Azure Cosmos DB accounts. However, support is provided for subscribers with existing support plans.
153153

154-
<sup>1</sup> You can increase these limits by contacting Azure Support or contacting us via [Ask CosmosDB](mailto:[email protected]).
154+
<sup>1</sup> You can increase these limits by contacting Azure Support or contacting us via [Ask Cosmos DB](mailto:[email protected]).

0 commit comments

Comments
 (0)