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/nosql/how-to-change-capacity-mode.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,6 @@ author: richagaur
6
6
ms.author: richagaur
7
7
ms.service: cosmos-db
8
8
ms.subservice: nosql
9
-
ms.custom:
10
-
- build-2024
11
9
ms.topic: how-to
12
10
ms.date: 05/08/2024
13
11
#Customer Intent: As an administrator, I want to change the capacity mode, so that I can migrate from serverless to provisioned capacity.
@@ -17,7 +15,8 @@ ms.date: 05/08/2024
17
15
18
16
[!INCLUDE[NoSQL](../includes/appliesto-nosql.md)]
19
17
20
-
Azure Cosmos DB for NoSQL accounts in serverless capacity mode can be changed to provisioned capacity mode. Changing from serverless to provisioned capacity mode converts all containers within the account to manual provisioned throughput containers in-place. The containers' throughput is determined according to the following formula: `Throughput(RU/s) = max(5000, StorageInGB * 10)`.
18
+
Azure Cosmos DB for NoSQL accounts in serverless capacity mode can be changed to provisioned capacity mode. Changing from serverless to provisioned capacity mode converts all containers within the account to manual provisioned throughput containers in-place. The containers' throughput is determined according to the following formula:
19
+
`Throughput(RU/s) = max(5000, number of partitions * 1000)`.
21
20
22
21
You can also change the throughput or provisioning mode from manual to autoscale once the migration is complete.
23
22
@@ -33,26 +32,33 @@ You can also change the throughput or provisioning mode from manual to autoscale
33
32
34
33
## Register for preview
35
34
36
-
To enable this feature, register for the preview feature **Change capacity mode (preview)** in your subscription. For more information, see [register for an Azure Cosmos DB preview feature](../access-previews.md).
35
+
36
+
To enable this feature, register for the preview feature **Change capacity mode from serverless to provisioned throughput** in your subscription. For more information, see [register for an Azure Cosmos DB preview feature](../access-previews.md).
37
37
38
38
## Change capacity mode
39
39
40
40
Follow these steps to change the capacity mode using Azure portal.
41
41
42
42
1. In the Azure portal, navigate to your API for NoSQL account.
43
43
44
-
1. Select the **Change** option associated with the **capacity mode** field in the **Overview** section of the account page.
44
+
1. Select the **Change capacity mode to provisioned throughput** option in the **Overview** section of the account page.
45
45
46
46
1. Review the changes and select **Confirm** to start the migration.
47
47
48
48
1. Monitor the status using the **state** field in the **Overview** section. The status indicates that the account is **updating** while the migration is in progress.
49
49
50
-
1. Once the migration is complete, the **capacity mode** field is now set to **provisioned capacity**.
50
+
1. Once the migration is complete, the **capacity mode** field is now set to **provisioned throughput**.
51
+
52
+
## Limitations
51
53
52
-
> [!IMPORTANT]
53
-
> There are no service level agreements (SLAs) associated with the duration of the capacity mode change. You cannot execute any management operation while the migration is in progress. However, the containers can be accessed as usual by any client application.
54
+
- This is one time migration that is; the account can't be reversed to serverless capacity mode again.
55
+
- There's no SLA associated with the duration of migration.
56
+
- Any management operation can't be executed while the migration is in progress.
57
+
- In cases where you need to restore a deleted Cosmos DB account, the account is restored to provisioned throughput if the capacity mode was changed from serverless to provisioned, irrespective of the backup timestamp.
58
+
- In cases where you need to restore a deleted serverless container within an existing account, which was migrated from serverless to provisioned throughput, contact Microsoft support.
54
59
55
60
## Related content
56
61
57
62
-[Chose between autoscale and manual throughput](../how-to-choose-offer.md).
58
63
-[Choose between serverless and provisioned throughput](../throughput-serverless.md).
0 commit comments