tencent cloud

云数据库 MongoDB

动态与公告
产品动态
公告
新手指引
产品简介
产品概述
产品优势
应用场景
集群架构
产品规格
产品功能
地域和可用区
名词解释
购买指南
计费概述
产品定价
计费公式
欠费说明
备份空间计费
变配计费说明
快速入门
快速创建实例
连接 MongoDB 实例
读写数据库
操作指南
访问管理
管理实例
节点管理
版本升级
网络配置
系统监控
备份与回档
数据库审计
数据安全
SSL 认证
日志管理
数据库管理
多可用区部署
只读灾备
参数配置
回收站
任务管理
诊断优化
数据迁移指引
实践教程
索引优化解决读写性能瓶颈
分片集群 Mongos 负载不均解析及应对方案
分片集群使用注意事项
MongoDB 协议实例读写示例
基于 CVM 连接 MongoDB 进行数据导入导出的方法
3.6版本实例反复创建和删除同名数据库时报错怎么办
无法连接 MongoDB 解决方法
删减分片任务:进度确认与异常排查指南
性能调优
运维开发指南
开发规范
3.2版本分片集群命令支持情况
3.6版本命令支持情况
开发运维
故障处理
慢查询增多
连接数超限
API 文档
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
SDK 参考
Shell连接示例
PHP 连接示例
Node.js连接示例
Java 连接示例
Python连接示例
Python 读写示例
Go 连接示例
PHP 重连示例
产品性能
测试环境
测试方法
测试结果
常见问题
费用相关问题
功能特性问题
分片集群问题
实例相关问题
回档备份问题
连接相关问题
数据迁移问题
其他常见问题
相关协议
服务等级协议
Terms of Service
词汇表
联系我们

MongoDB 4.0 版本测试数据

PDF
聚焦模式
字号
最后更新时间: 2024-10-10 10:42:42
本文阐述了腾讯云数据库 MongoDB 4.0 版本在多种工作负载条件下的性能表现,通过应用 YCSB 基准测试工具,详尽测试了数据库 throughput(ops/sec)每秒操作数、RAL(us) 平均读时延、WAL(us) 平均写时延等关键指标。其测试产品规格包含:2核4GB、4核8GB、6核16GB、12核32GB、24核64GB、24核128GB。

规格1: 2核4GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
500
2,000,000
8
10416
-
763
100%
95% Update + 5% read
7070
1078
1129
100%
50% Update + 50% read
9707
778
859
100%
5% Update + 95% read
13297
593
678
100%
100% update
7133
-
1116
100%
100% read
16453
482
-
100%
100% insert
8931
-
891
100%
物理版
load
200
14063
-
565
100%
95% Update + 5% read
6559
1122
1220
100%
50% Update + 50% read
10031
744
842
100%
5% Update + 95% read
19337
406
495
100%
100% update
6865
-
1161
100%
100% read
25663
307
-
100%
100% insert
10322
-
771
100%

规格2: 4核8GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
1000
4,000,000
16
19982
-
796
100%
95% Update + 5% read
13252
1085
1208
100%
50% Update + 50% read
18440
815
910
100%
5% Update + 95% read
28279
557
634
100%
100% update
13154
-
1211
100%
100% read
33672
471
-
100%
100% insert
17794
-
895
100%
物理版
load
200
26494
-
600
100%
95% Update + 5% read
16039
891
999
100%
50% Update + 50% read
20982
710
809
100%
5% Update + 95% read
39872
394
476
100%
100% update
15372
-
1037
100%
100% read
45988
345
-
100%
100% insert
19624
-
809
100%

规格3:6核16GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
1000
8,000,000
32
27080
-
1175
100%
95% Update + 5% read
17323
1399
1864
100%
50% Update + 50% read
21875
1364
1548
100%
5% Update + 95% read
38538
820
921
100%
100% update
16739
-
1905
100%
100% read
44648
712
-
100%
100% insert
23707
-
1344
100%
物理版
load
200
34713
-
917
100%
95% Update + 5% read
16746
918
1958
100%
50% Update + 50% read
30463
927
1164
100%
5% Update + 95% read
56846
554
653
100%
100% update
16083
-
1985
100%
100% read
51304
614
-
86%-91%
100% insert
32038
-
995
100%

规格4: 12核32GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
1000
16,000,000
64
46450
不涉及
1369
100%
95% Update + 5% read
23453
1185
2801
64%-100%
50% Update + 50% read
35023
1429
2206
83%-100%
5% Update + 95% read
65098
970
1077
100%
100% update
22338
-
2856
100%
100% read
75752
838
-
100%
100% insert
39236
-
1622
100%
物理版
load
200
56989
-
1115
100%
95% Update + 5% read
21544
860
3074
100%
50% Update + 50% read
36838
865
2598
100%
5% Update + 95% read
96856
648
787
100%
100% update
20725
-
3080
100%
100% read
104753
605
-
100%
100% insert
49014
-
1300
100%

规格5:24核64GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
1000
32,000,000
128
82710
-
1462
60%-100%
95% Update + 5% read
19508
102931
1433
40%-90%
50% Update + 50% read
52784
4225
605
40-100%
5% Update + 95% read
113680
1144
693
75%-100%
100% update
20837
-
5120
30-100%
100% read
116587
1697
-
65%
100% insert
84331
-
1436
80%-100%
物理版
load
200
71664
-
1783
61%
95% Update + 5% read
29924
2030
4389
100%
50% Update + 50% read
67803
1711
2058
65%
5% Update + 95% read
74680
1707
1786
35%
100% update
28686
-
4456
100%
100% read
75275
1697
-
30%
100% insert
68761
-
1856
63%-100%

规格6:24核128GB


规格类型
压测比例
磁盘(GB)
数据量(条)
并发线程数
throughput(ops/sec)
RAL(us)
WAL(us)
CPU 利用率
云盘版
load
1000
64,000,000
256
87310
-
3652
60-90%
95% Update + 5% read
21844
3199
7805
25%-100%
50% Update + 50% read
48758
3117
3074
25%-60%
5% Update + 95% read
105313
2453
3129
100%
100% update
18155
-
13115
40%-50%
100% read
108243
2550
-
65%
100% insert
65027
-
3654
35-90%
物理版
load
200
70025
-
3652
 
95% Update + 5% read
32028
5961
8088
25%-100%
50% Update + 50% read
68293
3617
3874
25%-60%
5% Update + 95% read
74005
3453
3529
30%
100% update
29823
-
8577
30%-100%
100% read
74052
3454
-
28%
100% insert
68882
-
3713
60%

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈