tencent cloud

All product documents
TencentDB for MongoDB
Adjusting Shard Quantity
Last updated: 2024-04-02 15:33:32
Adjusting Shard Quantity
Last updated: 2024-04-02 15:33:32

Overview

You can adjust the shard quantity after purchasing a sharded cluster instance to adapt to your changing business scenarios.

Billing

The instance will be billed by the new specifications after its specifications are changed. Make sure that your Tencent Cloud account balance is sufficient to cover the updated billing. For more information, see Specification Adjustment Billing.

Note

After new nodes are added to the cluster, data sync will start without affecting the business.
Do not adjust the node quantity and node computing/storage specifications at the same time.
After the node quantity is adjusted, billing will start based on the new specification.
The name, private network address, and port of the instance remain unchanged after node quantity adjustment.
A started specification adjustment task cannot be canceled.

Prerequisites

You have created a TencentDB for MongoDB instance. For more information, see Creating TencentDB for MongoDB Instance.
If your instance is pay-as-you-go, make sure that your Tencent Cloud account balance is sufficient.
The sharded cluster instance and its associated instances are in Running status and there are currently no tasks being executed.

Directions

2. In the MongoDB drop-down list on the left sidebar, select Sharded Cluster Instance.
3. Above the Instance List on the right, select the region.
4. In the instance list, find the target instance.
5. Click the Instance ID to enter the Instance Details page and click the Node Management tab.
6. On the Mongod Node tab on the Node Management tab, click Adjust Shard Quantity.
7. In the Adjust Shard Quantity window, read the notes on shard quantity adjustment, specify the new number of shards as describe below, and confirm the fees.

Parameter
Description
Example
Instance Name
The name of the instance that requires node quantity adjustment.
test-4dot2-XXX
Expiration Time
The expiration time of the instance (for billing purpose).
2022-04-24 19:23:43
Instance Architecture
The description of the instance's cluster architecture. For more information, see System Architecture.
Sharded cluster instance with two shards and five storage nodes per shard
Node Specification
The shard node specification information of the current sharded cluster instance, including the number of CPU cores, memory, storage capacity, and node quantity.
2 cores, 4 GB memory, 250 GB storage, 10 nodes in total
Add Shard
Select the number of shards to be added to the instance. Value range: [1,36].
3
Fees
Pay-as-you-go: Hourly unit price after instance speciation adjustment. You can click Billing Details to view the billable items and billing formula and confirm the fees.
For billing details after the configuration adjustment, see Configuration Adjustment Billing.
0.99 USD/hour
8. After confirming that everything is correct, click OK.

Related APIs

API Name
Description
Adjust the specification of a TencentDB instance

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon