tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Test Data of MongoDB 4.0

PDF
Focus Mode
Font Size
Last updated: 2024-10-10 10:43:17
This document outlines the performance of TencentDB for MongoDB 4.0 under various workloads. By using the YCSB benchmarking tool, comprehensive testings are conducted on key metrics such as database throughput (ops/sec), RAL (us), and WAL (us). The product specifications tested include: 2-core and 4 GB, 4-core and 8 GB, 6-core and 16 GB, 12-core and 32 GB, 24-core and 64 GB, and 24-core and 128 GB.

Specification 1: 2-core and 4 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
500
2,000,000
8
10,416
-
763
100%
95% Update + 5% read
7,070
1,078
1,129
100%
50% Update + 50% read
9,707
778
859
100%
5% Update + 95% read
13,297
593
678
100%
100% update
7,133
-
1,116
100%
100% read
16,453
482
-
100%
100% insert
8,931
-
891
100%
Physical version
load
200
14,063
-
565
100%
95% Update + 5% read
6,559
1,122
1,220
100%
50% Update + 50% read
10,031
744
842
100%
5% Update + 95% read
19,337
406
495
100%
100% update
6,865
-
1,161
100%
100% read
25,663
307
-
100%
100% insert
10,322
-
771
100%

Specification 2: 4-core and 8 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
1,000
4,000,000
16
19,982
-
796
100%
95% Update + 5% read
13,252
1,085
1,208
100%
50% Update + 50% read
18,440
815
910
100%
5% Update + 95% read
28,279
557
634
100%
100% update
13,154
-
1,211
100%
100% read
33,672
471
-
100%
100% insert
17,794
-
895
100%
Physical version
load
200
26,494
-
600
100%
95% Update + 5% read
16,039
891
999
100%
50% Update + 50% read
20,982
710
809
100%
5% Update + 95% read
39,872
394
476
100%
100% update
15,372
-
1,037
100%
100% read
45,988
345
-
100%
100% insert
19,624
-
809
100%

Specification 3: 6-core and 16 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
1,000
8,000,000
32
27,080
-
1,175
100%
95% Update + 5% read
17,323
1,399
1,864
100%
50% Update + 50% read
21,875
1,364
1,548
100%
5% Update + 95% read
38,538
820
921
100%
100% update
16,739
-
1,905
100%
100% read
44,648
712
-
100%
100% insert
23,707
-
1,344
100%
Physical version
load
200
34,713
-
917
100%
95% Update + 5% read
16,746
918
1,958
100%
50% Update + 50% read
30,463
927
1,164
100%
5% Update + 95% read
56,846
554
653
100%
100% update
16,083
-
1,985
100%
100% read
51,304
614
-
86%-91%
100% insert
32,038
-
995
100%

Specification 4: 12-core and 32 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
1,000
16,000,000
64
46,450
Not involved
1,369
100%
95% Update + 5% read
23,453
1,185
2,801
64%-100%
50% Update + 50% read
35,023
1,429
2,206
83%-100%
5% Update + 95% read
65,098
970
1,077
100%
100% update
22,338
-
2,856
100%
100% read
75,752
838
-
100%
100% insert
39,236
-
1,622
100%
Physical version
load
200
56,989
-
1,115
100%
95% Update + 5% read
21,544
860
3,074
100%
50% Update + 50% read
36,838
865
2,598
100%
5% Update + 95% read
96,856
648
787
100%
100% update
20,725
-
3,080
100%
100% read
10,4753
605
-
100%
100% insert
49,014
-
1,300
100%

Specification 5: 24-core and 64 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
1,000
32,000,000
128
82,710
-
1,462
60%-100%
95% Update + 5% read
19,508
102,931
1,433
40%-90%
50% Update + 50% read
52,784
4,225
605
40-100%
5% Update + 95% read
113,680
1,144
693
75%-100%
100% update
20,837
-
5,120
30-100%
100% read
116,587
1,697
-
65%
100% insert
84,331
-
1,436
80%-100%
Physical version
load
200
71,664
-
1,783
61%
95% Update + 5% read
29,924
2,030
4,389
100%
50% Update + 50% read
67,803
1,711
2,058
65%
5% Update + 95% read
74,680
1,707
1,786
35%
100% update
28,686
-
4,456
100%
100% read
75,275
1,697
-
30%
100% insert
68,761
-
1,856
63%-100%

Specification 6: 24-core and 128 GB


Specification Type
Stress Testing Ratio
Disk (GB)
Data Volume
Concurrent Threads
Throughput (ops/sec)
RAL (us)
WAL (us)
CPU Utilization
Cloud edition
load
1,000
64,000,000
256
87,310
-
3,652
60-90%
95% Update + 5% read
21,844
3,199
7,805
25%-100%
50% Update + 50% read
48,758
3,117
3,074
25%-60%
5% Update + 95% read
105,313
2,453
3,129
100%
100% update
18,155
-
13,115
40%-50%
100% read
108,243
2,550
-
65%
100% insert
65,027
-
3,654
35-90%
Physical version
load
200
70,025
-
3,652
 
95% Update + 5% read
32,028
5,961
8,088
25%-100%
50% Update + 50% read
68,293
3,617
3,874
25%-60%
5% Update + 95% read
74,005
3,453
3,529
30%
100% update
29,823
-
8,577
30%-100%
100% read
74,052
3,454
-
28%
100% insert
68,882
-
3,713
60%

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback