To help users better understand the performance of TencentDB for MongoDB, this section provides a detailed description of the MongoDB performance testing environment, testing methods, and performance data.
Testing Environment
|
CVM | Operating system | Ubuntu Server 22.04 LTS 64-bit |
| Instance specification | X86 compute type, C5.16XLARGE128, 64C/128G |
TencentDB for MongoDB | Database version | MongoDB 4.0 and 4.4 |
| Instance specification | 2 cores 4 GB, 4 cores 8 GB, 12 cores 32 GB, 24 cores 64 GB, 24 cores 128 GB and so on. For specific specifications, see the Test Results. |
| Cluster architecture | Cloud Edition and Physical Edition |
Region and Availability Zone | CVM instances and MongoDB instances belong to the same region and availability zone. |
|
Network | VPC, CVM instances and MongoDB instances are in the same VPC. |
|
| Version | Use the open-source community’s YCSB 0.17.0 benchmarking tool to perform stress testing. |
Testing Tool
YCSB (Yahoo! Cloud Serving Benchmark) is a benchmarking tool used to evaluate the performance of various data storage systems, covering common NoSQL database products, including MongoDB. YCSB supports multiple test scenarios, allowing users to adjust parameters such as record count, number of threads, and operation ratios based on specific requirements to simulate particular use cases. Additionally, YCSB offers a data generator that enables users to define the format and size of the data to fit different data models. Given YCSB’s high flexibility, comprehensiveness, and scalability, TencentDB for MongoDB uses YCSB for performance analysis and evaluation.
Was this page helpful?