tencent cloud

TencentDB for MongoDB

Billing Formula

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-08-19 11:41:09
Diterjemahkan oleh AI
TencentDB for MongoDB generally consists of 3 or more nodes, with each node comprising 2 components: computing (with specified specifications) and storage (with a certain capacity of cloud disk).
Computing Fee: It is priced based on the selected node specifications (CPU + memory), with the unit being USD/node/hour. You can directly query the pricing table for the corresponding region and specifications to obtain the price, without needing to calculate it by splitting the memory into GB.
Storage Fee: It is priced based on the disk capacity, with the unit being USD/GB/hour, which is calculated as storage unit price × disk capacity.
Note:
The prices in this document are for reference only. Actual prices may vary due to adjustments in regions, promotions, or policies. Please refer to the actual prices on the official purchase page.

Replica Set (General Purpose)

Billing Formula

Instance fee = Computing fee + Storage fee = (Hourly rate for a single Mongod node specification + Storage unit price x Disk capacity of a single Mongod node) x (Number of primary/secondary nodes + Number of read-only nodes) x Billing duration (hours).
The "hourly rate for a single Mongod node specification" is obtained by directly querying the pricing table for the corresponding region and specifications (unit: USD/node/hour, which includes CPU and memory). The "storage unit price x disk capacity" is the storage fee (unit: USD/GB/hour x GB).

Example

Purchase a replica set instance in the Guangzhou region. The specifications are as follows: Mongod specification of 2 cores and 4 GB memory, disk capacity of 100 GB, 3 nodes (1 primary node and 2 secondary nodes) with an additional read-only node, and a runtime of 4 days (96 hours). The detailed fee calculation is shown in the table below.
Billing Item
Purchase Details
Unit Price
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Hourly fee for a single Mongod node specification + Storage unit price × Disk capacity of a single Mongod node) × (Number of primary/secondary nodes + Number of read-only nodes) × Billing duration = (0.06071429 + 0.00013886 × 100) × (3 + 1) × 96 = 28.65 USD.
Instance type
Replica set instance
-
Billing duration
4 days (96 hours)
-
Mongod specifications
2 cores and 4 GB
0.06071429 (USD/node/hour)
Mongod disk capacity
100GB
0.00013886 (USD/GB/hour)
Number of primary/secondary nodes
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-

Sharded Cluster (General Purpose)

For a sharded cluster, after you configure the Mongod specifications, Mongos will have a default specification adaptation. For example, if you select 2 cores and 4 GB memory for Mongod, Mongos is configured by default as 1 core and 2 GB memory. For a single-AZ deployment instance, the default adapted specification for Mongos includes 3 free nodes. For a multi-AZ deployment instance, the default adapted specification for Mongos includes 6 free nodes. Fees will be charged for increasing the number of Mongos nodes or upgrading the Mongos computing specifications.

No Fees Incurred by Mongos When the Default Configuration Is Used

Billing Formula

Instance fee = Computing fee + Storage fee = (Hourly rate for a single Mongod node specification + Storage unit price x Disk capacity of a single Mongod node) x Number of Mongod shards x (Number of primary/secondary nodes per shard + Number of read-only nodes) x Billing duration (hours).
Under the default configuration, 3 Mongos nodes are free for single-AZ deployment, and 6 Mongos nodes are free for multi-AZ deployment. Therefore, Mongos fees are not charged in this scenario.

Example

Purchase a single-AZ sharded cluster instance in the Guangzhou region, with Mongos kept at its default configuration. The specifications are as follows: Mongod specification of 2 cores and 4 GB memory, disk capacity of 100 GB, shard quantity of 2, each shard with 3 nodes (1 primary node and 2 secondary nodes) and an additional read-only node, and a runtime of 4 days (96 hours). The detailed fee calculation is shown in the table below.
Billing Item
Purchase Details
Unit Price
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Hourly fee for a single Mongod node specification + Storage unit price × Disk capacity of a single Mongod node) × Mongod shard quantity × (Number of primary/secondary nodes per shard + Number of read-only nodes) × Billing duration = (0.06071429 + 0.00013889 × 100) × 2 × (3 + 1) × 96 = 57.30 USD.
Instance type
Sharded Instance
-
Billing duration
4 days (96 hours)
-
Mongod specifications
2 cores and 4 GB
0.06071429 (USD/node/hour)
Mongod disk capacity
100GB
0.00013889 (USD/GB/hour)
Mongos specifications
Default specifications: 1 core and 2 GB (no fees incurred when the default configuration is used)
-
Number of Mongod shards
2
-
Number of primary/secondary nodes per shard
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-
Mongos quantity
Default quantity: 3
-

Upgrading the Mongos Specifications and Increasing the Quantity

Billing Formula

Instance fee = Computing fee + Storage fee = (Hourly rate for a single Mongod node specification + Storage unit price x Disk capacity of a single Mongod node) x Number of Mongod shards x (Number of primary/secondary nodes per shard + Number of read-only nodes) x Billing duration (hours) + Hourly rate for a single Mongos node specification x Total number of Mongos nodes x Billing duration (hours) - Mongos free quota.
Here, the "Mongos free quota" refers to the free portion corresponding to the default adapted specification for Mongos after you configure Mongod, which is calculated as Hourly rate for the default adapted Mongos specification x Default free quantity x Billing duration (hours). The default free quantity is 3 for single-AZ deployment and 6 for multi-AZ deployment instances. The default adapted Mongos specification corresponding to each Mongod specification is as follows:
Mongod Specs
Default Specs for Mongos Adaptation
2 cores and 4 GB
1 core and 2 GB
4 cores and 8 GB
2 cores and 4 GB
6 cores and 16 GB
4 cores and 8 GB
12 cores and 32 GB
8 cores and 16 GB
24 cores and 64 GB
8 cores and 16 GB
24 cores and 128 GB
8 cores and 16 GB
32 cores and 240 GB
8 cores and 16 GB
48 cores and 512 GB
8 cores and 16 GB

Example

Purchase a sharded cluster instance in the same AZ within the Guangzhou region. The specifications are as follows: Mongod specification of 2 cores and 4 GB memory, disk capacity of 100 GB, shard quantity of 2, each shard with 3 nodes (1 primary node and 2 secondary nodes) and an additional read-only node. The Mongos specification is upgraded to 2 cores and 4 GB memory, and the quantity is increased to 5 (which means adding 2 nodes on top of the default 3). The runtime is 4 days (96 hours). The detailed fee calculation is shown in the table below.
Billing Item
Purchase Details
Unit Price
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Hourly fee for a single Mongod node specification + Storage unit price × Disk capacity of a single Mongod node) × Mongod shard quantity × (Number of primary/secondary nodes per shard + Number of read-only nodes) × Billing duration + Hourly fee for a single Mongos node specification × Total number of Mongos nodes × Billing duration − Mongos free allowance = (0.06071429 + 0.00013889 × 100) × 2 × (3 + 1) × 96 + 0.06071429 × 5 × 96 − (0.03412698 × 3 × 96) = 57.30 + 29.14 − 9.83 = 76.61 USD.
Instance type
Sharded Instance
-
Billing duration
4 days (96 hours)
-
Mongod specifications
2 cores and 4 GB
0.06071429 (USD/node/hour)
Mongod disk capacity
100GB
0.00013889 (USD/GB/hour)
Mongos specifications
Upgraded specifications: 2 cores and 4 GB (The default specifications are 1 core 2 GB. The default specifications provide 3 free instances for single-AZ deployment.)
0.06071429 (USD/node/hour); the default specification of 1 core and 2 GB is 0.03412698 (USD/node/hour)
Number of Mongod shards
2
-
Number of primary/secondary nodes per shard
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-
Mongos quantity
Default quantity: 3; additional quantity: 2 (total: 5).
-

High IO 10 Gigabit (Discontinued)

Replica Set

Instance fee = Computing fee + Storage fee = (Hourly rate for a single Mongod node x Memory of a single Mongod node + Storage price for a single Mongod node x Capacity of a single Mongod node) x (Number of primary/secondary nodes + Number of read-only nodes) x Billing duration.
Example: Purchase a replica set instance in the Guangzhou region. The detailed fee calculation is shown in the table below.
Billing Item
Purchase Details
Unit Price (USD/GB/Hour)
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Memory price for a single Mongod node × Memory of a single Mongod node + Storage price for a single Mongod node × Capacity of a single Mongod node) × (Number of primary/secondary nodes + Number of read-only nodes) × Billing duration = (0.01521164 × 4 + 0.000138857 × 100) × (3 + 1) × 96 = 28.69718784 USD.
Instance type
Replica set instance
-
Billing duration
4 days
-
Mongod specifications
2 cores and 4 GB
0.01521164
Mongod disk capacity
100GB
0.000138857
Number of primary/secondary nodes
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-

Shard cluster

No Fees Incurred by Mongos When the Default Configuration Is Used
Instance fee = Computing fee + Storage fee = (Memory price for a single Mongod node x Memory of a single Mongod node + Storage price for a single Mongod node x Capacity of a single Mongod node) x Number of Mongod shards x (Number of primary/secondary nodes per shard + Number of read-only nodes) x Billing duration
The default configuration provides 3 free Mongos nodes for single-AZ deployment and 6 free Mongos nodes for multi-AZ deployment.
Example: Purchase a single-AZ sharded cluster instance in the Guangzhou region, with Mongos keeping the default configuration. The detailed fee calculation is shown in the table below.
Billing Item
Purchase Details
Unit Price
(USD/GB/Hour)
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Memory price for a single Mongod node × Memory of a single Mongod node + Storage price for a single Mongod node × Capacity of a single Mongod node) × Shard quantity × (Number of primary/secondary nodes per shard + Number of read-only nodes) × Billing duration = (0.01521143 × 4 + 0.00013889 × 100) × 2 × (3 + 1) × 96 = 57.39626496 USD.
Instance type
Sharded cluster
-
Billing duration
4 days (96 hours)
-
Mongod specifications
2 cores and 4 GB
0.01521143
Mongod disk capacity
100GB
0.00013889
Mongos specifications
Default specifications: 1 core and 2 GB (no fees incurred when the default configuration is used)
-
Number of Mongod shards
2
-
Number of primary/secondary nodes per shard
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-
Mongos quantity
Default quantity: 3
-
Upgrading the Mongos Specifications and Increasing the Quantity
Instance fee = Computing fee + Storage fee = (Memory price for a single Mongod node x Memory of a single Mongod node + Storage price for a single Mongod node x Disk capacity of a single Mongod node) x Number of Mongod shards x (Number of primary/secondary nodes per shard + Number of read-only nodes) x Billing duration + (Memory price for a single Mongos node x Memory of a single Mongos node x Total Mongos quantity - Price for free Mongos instances) x Billing duration
Example: Purchase a sharded cluster instance in the same AZ within the Guangzhou region. The specifications are as follows: Mongod specification of 2 cores and 4 GB memory, Mongos configuration upgraded to 2 cores and 4 GB memory, shard quantity of 2, each shard with 3 nodes (1 primary node and 2 secondary nodes), and Mongos quantity increased to 5 (which means adding 2 Mongos nodes). The disk capacity is 100 GB. The detailed fee calculation is shown in the table below.
Billable Item
Purchase Details
Unit Price
(USD/GB/Hour)
Calculation Formula
Region
Guangzhou
-
Instance fee = Computing fee + Storage fee = (Memory price for a single Mongod node × Memory of a single Mongod node + Storage price for a single Mongod node × Disk capacity of a single Mongod node) × Mongod shard quantity × (Number of primary/secondary nodes per shard + Number of read-only nodes) × Billing duration + (Memory price for a single Mongos node × Memory of a single Mongos node × Total number of Mongos nodes − Free allowance price for Mongos) × Billing duration = (0.01521143 × 4 + 0.00013889 × 100) × 2 × (3 + 1) × 96 + (0.01521143 × 4 × 5 − 0.01521143 × 2 × 3) × 96 = 79.84042688 USD.
Instance type
Sharded cluster
-
Billing duration
4 days
-
Mongod specifications
2 cores and 4 GB
0.01521143
Mongod disk capacity
100GB
0.00013889
Mongos specifications
Upgraded specifications: 2 cores and 4 GB. The default specifications are 1 core 2 GB. The default specifications provide 3 free instances for single-AZ deployment.
0.01521143
Number of Mongod shards
2
-
Number of primary/secondary nodes per shard
3 nodes (1 primary node and 2 secondary nodes)
-
Number of read-only nodes
1
-
Mongos quantity
Default quantity: 3; additional quantity: 2.
-

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan