云盘和本地盘谁强?各家云厂商云盘谁更强?
MySQL Sysbench 性能测试综合报告
测试源码:https://github.com/plantegg/sysbench_report
📊 执行摘要
本报告汇总了 7 个不同环境下的MySQL性能测试结果,涵盖IDC自建机房、华为云和阿里云等多种部署场景。
测试环境概览
| 环境 | CPU型号 | 核数 | 内存 | Buffer Pool | Flush Log |
|---|---|---|---|---|---|
| idc | INTEL(R) XEON(R) SILVER 4510 | 48 | 376G | 16GB | 2 |
| idc.trx1 | INTEL(R) XEON(R) SILVER 4510 | 48 | 376G | 16GB | 1 |
| huawei | Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz | 64 | 251G | 16GB | 2 |
| aliyun | Intel(R) Xeon(R) 6982P-C | 8 | 30Gi | 16GB | 2 |
| aliyun.trx1 | Intel(R) Xeon(R) 6982P-C | 8 | 30Gi | 16GB | 1 |
| aws.gp3 | Intel(R) Xeon(R) Platinum 8488C | 8 | 30Gi | 16GB | 2 |
| aws.io1 | Intel(R) Xeon(R) Platinum 8488C | 8 | 30Gi | 16GB | 2 |
测试配置
- 测试工具: sysbench + tsar
- 测试数据集: 16表 × 1000万行
- 测试时长: 每场景30秒
- 测试场景: 点查询、只读、读写混合、只写
- 并发级别: 1, 8, 16, 32, 64, 128 线程
🏆 性能排名
点查询性能对比 (oltp_point_select)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 24,725 | 159,877 | 252,082 | 304,631 | 299,555 | 287,407 |
| idc.trx1 | 15,153 | 129,671 | 231,142 | 296,421 | 297,696 | 285,109 |
| huawei | 6,019 | 45,989 | 86,219 | 155,542 | 196,915 | 190,484 |
| aliyun | 15,750 | 109,914 | 196,497 | 301,160 | 328,098 | 309,373 |
| aliyun.trx1 | 15,625 | 113,189 | 195,783 | 302,140 | 326,549 | 310,429 |
| aws.gp3 | 2,316 | 60,437 | 162,670 | 232,535 | 228,321 | 217,381 |
| aws.io1 | 1,835 | 56,871 | 170,296 | 251,905 | 249,718 | 236,283 |
只写性能对比 (oltp_write_only)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 19,282 | 77,540 | 94,457 | 88,015 | 103,249 | 115,778 |
| idc.trx1 | 15,367 | 61,477 | 78,108 | 82,004 | 97,106 | 108,842 |
| huawei | 4,930 | 30,173 | 49,163 | 70,800 | 85,898 | 64,958 |
| aliyun | 12,484 | 61,401 | 90,134 | 101,548 | 110,923 | 121,385 |
| aliyun.trx1 | 6,909 | 38,470 | 57,604 | 88,163 | 112,561 | 105,554 |
| aws.gp3 | 1,689 | 17,630 | 34,757 | 36,656 | 43,519 | 52,980 |
| aws.io1 | 1,786 | 19,047 | 39,006 | 68,442 | 94,216 | 66,370 |
读写混合性能对比 (oltp_read_write)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 9,208 | 49,874 | 64,265 | 68,103 | 69,255 | 69,969 |
| idc.trx1 | 7,297 | 45,183 | 58,254 | 63,486 | 65,714 | 67,345 |
| huawei | 3,728 | 25,512 | 40,124 | 49,743 | 51,940 | 52,357 |
| aliyun | 7,952 | 51,194 | 71,761 | 81,858 | 83,569 | 82,403 |
| aliyun.trx1 | 6,868 | 44,801 | 66,062 | 78,590 | 83,049 | 84,131 |
| aws.gp3 | 1,741 | 19,019 | 42,144 | 60,885 | 64,869 | 63,936 |
| aws.io1 | 1,924 | 24,967 | 54,742 | 68,211 | 71,816 | 70,575 |
只读性能对比 (oltp_read_only)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 11,527 | 58,919 | 73,087 | 74,820 | 74,631 | 73,444 |
| idc.trx1 | 10,803 | 60,145 | 71,110 | 73,527 | 73,290 | 72,280 |
| huawei | 4,433 | 27,454 | 41,995 | 49,173 | 51,212 | 51,027 |
| aliyun | 9,389 | 60,278 | 76,662 | 84,123 | 85,224 | 85,054 |
| aliyun.trx1 | 9,311 | 59,695 | 76,820 | 84,023 | 85,283 | 85,127 |
| aws.gp3 | 1,692 | 31,915 | 59,828 | 66,972 | 67,678 | 67,480 |
| aws.io1 | 1,845 | 28,879 | 64,551 | 73,173 | 74,400 | 74,024 |
📈 延迟分析
点查询延迟对比 (95%分位, ms)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 0.04 | 0.06 | 0.10 | 0.16 | 0.32 | 0.61 |
| idc.trx1 | 0.26 | 0.23 | 0.13 | 0.18 | 0.31 | 0.62 |
| huawei | 0.17 | 0.19 | 0.21 | 0.31 | 0.48 | 0.94 |
| aliyun | 0.07 | 0.08 | 0.10 | 0.16 | 0.29 | 0.59 |
| aliyun.trx1 | 0.07 | 0.08 | 0.10 | 0.16 | 0.29 | 0.58 |
| aws.gp3 | 0.67 | 0.46 | 0.14 | 0.23 | 0.39 | 0.78 |
| aws.io1 | 0.72 | 0.49 | 0.13 | 0.20 | 0.36 | 0.72 |
读写混合延迟对比 (95%分位, ms)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 2.81 | 4.82 | 8.74 | 15.27 | 36.24 | 80.03 |
| idc.trx1 | 3.49 | 5.28 | 8.58 | 15.83 | 36.24 | 75.82 |
| huawei | 6.79 | 8.43 | 11.45 | 20.00 | 49.21 | 106.75 |
| aliyun | 3.30 | 4.10 | 6.32 | 11.65 | 29.72 | 86.00 |
| aliyun.trx1 | 3.68 | 4.65 | 6.55 | 11.45 | 25.28 | 94.10 |
| aws.gp3 | 15.00 | 17.32 | 15.00 | 15.83 | 33.72 | 116.80 |
| aws.io1 | 13.95 | 9.73 | 9.06 | 13.70 | 29.72 | 106.75 |
只写延迟对比 (95%分位, ms)
| 环境 | 1线程 | 8线程 | 16线程 | 32线程 | 64线程 | 128线程 |
|---|---|---|---|---|---|---|
| idc | 0.52 | 0.94 | 1.76 | 4.18 | 8.74 | 16.12 |
| idc.trx1 | 0.63 | 1.18 | 2.00 | 4.10 | 8.13 | 14.46 |
| huawei | 2.35 | 2.86 | 3.49 | 5.00 | 8.90 | 17.95 |
| aliyun | 0.99 | 1.37 | 1.70 | 2.86 | 7.17 | 23.95 |
| aliyun.trx1 | 1.37 | 1.93 | 2.43 | 3.13 | 4.74 | 9.22 |
| aws.gp3 | 5.99 | 5.67 | 5.67 | 15.00 | 29.72 | 44.98 |
| aws.io1 | 5.09 | 4.82 | 4.65 | 5.37 | 7.70 | 24.38 |
💡 关键发现
性能特点
CPU架构影响
- 不同CPU架构在各场景下表现差异明显
- 单核性能对点查询场景影响显著
事务持久化设置
- innodb_flush_log_at_trx_commit=1 vs 2 对写入性能影响明显
- 建议根据业务对数据安全性要求选择合适配置
并发扩展性
- 各环境在不同并发级别下的扩展性表现不同
- 需要根据实际业务并发选择合适的硬件配置
延迟控制
- 高并发下延迟控制能力体现系统稳定性
- 95%分位延迟是衡量用户体验的重要指标
环境推荐
- 查询密集型业务: 推荐 aliyun.trx1 环境
- 写入密集型业务: 推荐 aliyun 环境
- 混合负载: 需要综合考虑QPS、延迟和成本
📊 64线程性能对比
| 测试场景 | idc | idc.trx1 | huawei | aliyun | aliyun.trx1 | aws.gp3 | aws.io1 |
|---|---|---|---|---|---|---|---|
| 点查询 | 299,555 | 297,696 | 196,915 | 328,098 | 326,549 | 228,321 | 249,718 |
| 只读 | 74,631 | 73,290 | 51,212 | 85,224 | 85,283 | 67,678 | 74,400 |
| 读写混合 | 69,255 | 65,714 | 51,940 | 83,569 | 83,049 | 64,869 | 71,816 |
| 只写 | 103,249 | 97,106 | 85,898 | 110,923 | 112,561 | 43,519 | 94,216 |
第一章:idc 环境详细报告
测试时间: 2025-11-27 10:28:39
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 51706 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 24,725 | 24,725 | 0.04 | 0.04 | 0.0 | 0.6 | 0.6 | 0.2 | 11.6 | 2025-11-24 08:56:53 ~ 2025-11-24 08:57:23 |
| oltp_point_select | 8 | 159,877 | 159,877 | 0.05 | 0.06 | 0.4 | 4.8 | 2.9 | 1.0 | 51.9 | 2025-11-24 08:57:25 ~ 2025-11-24 08:57:55 |
| oltp_point_select | 16 | 252,082 | 252,082 | 0.06 | 0.10 | 0.6 | 8.1 | 4.8 | 0.6 | 56.9 | 2025-11-24 08:57:57 ~ 2025-11-24 08:58:27 |
| oltp_point_select | 32 | 304,631 | 304,631 | 0.10 | 0.16 | 0.9 | 10.3 | 5.8 | 0.0 | 42.3 | 2025-11-24 08:58:29 ~ 2025-11-24 08:58:59 |
| oltp_point_select | 64 | 299,555 | 299,555 | 0.21 | 0.32 | 1.1 | 10.4 | 5.7 | 0.0 | 30.0 | 2025-11-24 08:59:01 ~ 2025-11-24 08:59:31 |
| oltp_point_select | 128 | 287,407 | 287,407 | 0.45 | 0.61 | 1.0 | 10.5 | 5.7 | 0.0 | 22.0 | 2025-11-24 08:59:33 ~ 2025-11-24 09:00:03 |
| oltp_read_only | 1 | 11,527 | 720 | 1.39 | 1.61 | 0.0 | 1.3 | 0.4 | 0.0 | 1.0 | 2025-11-24 09:00:05 ~ 2025-11-24 09:00:35 |
| oltp_read_only | 8 | 58,919 | 3,682 | 2.17 | 3.30 | 0.3 | 9.5 | 1.2 | 0.1 | 4.8 | 2025-11-24 09:00:37 ~ 2025-11-24 09:01:07 |
| oltp_read_only | 16 | 73,087 | 4,568 | 3.50 | 5.28 | 0.2 | 13.8 | 1.6 | 0.0 | 5.7 | 2025-11-24 09:01:09 ~ 2025-11-24 09:01:39 |
| oltp_read_only | 32 | 74,820 | 4,676 | 6.84 | 9.73 | 0.3 | 14.7 | 1.6 | 0.0 | 5.5 | 2025-11-24 09:01:41 ~ 2025-11-24 09:02:11 |
| oltp_read_only | 64 | 74,631 | 4,664 | 13.72 | 17.01 | 0.3 | 14.7 | 1.6 | 0.0 | 4.9 | 2025-11-24 09:02:13 ~ 2025-11-24 09:02:43 |
| oltp_read_only | 128 | 73,444 | 4,590 | 27.88 | 33.12 | 0.3 | 14.6 | 1.7 | 0.0 | 4.8 | 2025-11-24 09:02:45 ~ 2025-11-24 09:03:15 |
| oltp_read_write | 1 | 9,208 | 460 | 2.17 | 2.81 | 0.0 | 1.7 | 0.8 | 0.2 | 29.3 | 2025-11-24 09:03:17 ~ 2025-11-24 09:03:47 |
| oltp_read_write | 8 | 49,874 | 2,494 | 3.21 | 4.82 | 0.2 | 10.0 | 2.0 | 0.4 | 52.4 | 2025-11-24 09:03:49 ~ 2025-11-24 09:04:19 |
| oltp_read_write | 16 | 64,265 | 3,213 | 4.98 | 8.74 | 0.3 | 12.8 | 2.1 | 0.2 | 38.9 | 2025-11-24 09:04:21 ~ 2025-11-24 09:04:51 |
| oltp_read_write | 32 | 68,103 | 3,405 | 9.39 | 15.27 | 0.2 | 13.8 | 2.1 | 0.0 | 36.2 | 2025-11-24 09:04:53 ~ 2025-11-24 09:05:23 |
| oltp_read_write | 64 | 69,255 | 3,463 | 18.48 | 36.24 | 0.3 | 13.9 | 2.0 | 0.0 | 33.9 | 2025-11-24 09:05:25 ~ 2025-11-24 09:05:55 |
| oltp_read_write | 128 | 69,969 | 3,498 | 36.57 | 80.03 | 0.3 | 13.8 | 2.0 | 0.0 | 31.4 | 2025-11-24 09:05:57 ~ 2025-11-24 09:06:28 |
| oltp_write_only | 1 | 19,282 | 3,214 | 0.31 | 0.52 | 0.0 | 2.0 | 1.0 | 0.1 | 8.9 | 2025-11-24 09:06:30 ~ 2025-11-24 09:07:00 |
| oltp_write_only | 8 | 77,540 | 12,923 | 0.62 | 0.94 | 0.3 | 8.6 | 2.8 | 0.2 | 25.3 | 2025-11-24 09:07:02 ~ 2025-11-24 09:07:32 |
| oltp_write_only | 16 | 94,457 | 15,743 | 1.02 | 1.76 | 0.4 | 11.1 | 3.3 | 0.1 | 31.3 | 2025-11-24 09:07:34 ~ 2025-11-24 09:08:04 |
| oltp_write_only | 32 | 88,015 | 14,669 | 2.18 | 4.18 | 0.4 | 10.4 | 3.2 | 0.1 | 41.4 | 2025-11-24 09:08:06 ~ 2025-11-24 09:08:36 |
| oltp_write_only | 64 | 103,249 | 17,208 | 3.72 | 8.74 | 0.4 | 11.7 | 3.2 | 0.1 | 37.7 | 2025-11-24 09:08:38 ~ 2025-11-24 09:09:08 |
| oltp_write_only | 128 | 115,778 | 19,296 | 6.63 | 16.12 | 0.5 | 12.4 | 3.4 | 0.1 | 39.6 | 2025-11-24 09:09:10 ~ 2025-11-24 09:09:40 |
第二章:idc.trx1 环境详细报告
测试时间: 2025-11-27 10:29:01
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 50627 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 15,153 | 15,153 | 0.07 | 0.26 | 0.0 | 0.6 | 0.6 | 0.8 | 42.6 | 2025-11-24 08:38:54 ~ 2025-11-24 08:39:24 |
| oltp_point_select | 8 | 129,671 | 129,671 | 0.06 | 0.23 | 0.2 | 4.1 | 2.7 | 2.3 | 81.3 | 2025-11-24 08:39:26 ~ 2025-11-24 08:39:56 |
| oltp_point_select | 16 | 231,142 | 231,142 | 0.07 | 0.13 | 0.9 | 7.8 | 4.2 | 0.8 | 68.0 | 2025-11-24 08:39:58 ~ 2025-11-24 08:40:28 |
| oltp_point_select | 32 | 296,421 | 296,421 | 0.11 | 0.18 | 0.9 | 10.3 | 5.7 | 0.0 | 47.1 | 2025-11-24 08:40:30 ~ 2025-11-24 08:41:00 |
| oltp_point_select | 64 | 297,696 | 297,696 | 0.21 | 0.31 | 0.9 | 10.4 | 5.7 | 0.0 | 31.4 | 2025-11-24 08:41:02 ~ 2025-11-24 08:41:32 |
| oltp_point_select | 128 | 285,109 | 285,109 | 0.45 | 0.62 | 0.8 | 10.5 | 5.6 | 0.0 | 21.7 | 2025-11-24 08:41:34 ~ 2025-11-24 08:42:04 |
| oltp_read_only | 1 | 10,803 | 675 | 1.48 | 1.86 | 0.0 | 1.3 | 0.4 | 0.0 | 1.0 | 2025-11-24 08:42:06 ~ 2025-11-24 08:42:36 |
| oltp_read_only | 8 | 60,145 | 3,759 | 2.13 | 3.25 | 0.1 | 10.2 | 1.3 | 0.1 | 5.3 | 2025-11-24 08:42:38 ~ 2025-11-24 08:43:08 |
| oltp_read_only | 16 | 71,110 | 4,444 | 3.60 | 5.88 | 0.2 | 13.5 | 1.6 | 0.0 | 5.6 | 2025-11-24 08:43:10 ~ 2025-11-24 08:43:40 |
| oltp_read_only | 32 | 73,527 | 4,595 | 6.96 | 10.09 | 0.2 | 14.6 | 1.6 | 0.0 | 5.6 | 2025-11-24 08:43:42 ~ 2025-11-24 08:44:12 |
| oltp_read_only | 64 | 73,290 | 4,581 | 13.97 | 18.28 | 0.3 | 14.6 | 1.6 | 0.0 | 5.1 | 2025-11-24 08:44:14 ~ 2025-11-24 08:44:44 |
| oltp_read_only | 128 | 72,280 | 4,518 | 28.32 | 34.95 | 0.2 | 14.5 | 1.6 | 0.0 | 4.9 | 2025-11-24 08:44:46 ~ 2025-11-24 08:45:16 |
| oltp_read_write | 1 | 7,297 | 365 | 2.74 | 3.49 | 0.0 | 1.5 | 0.7 | 0.2 | 28.6 | 2025-11-24 08:45:18 ~ 2025-11-24 08:45:48 |
| oltp_read_write | 8 | 45,183 | 2,259 | 3.54 | 5.28 | 0.1 | 9.5 | 2.0 | 0.4 | 44.6 | 2025-11-24 08:45:50 ~ 2025-11-24 08:46:20 |
| oltp_read_write | 16 | 58,254 | 2,913 | 5.49 | 8.58 | 0.2 | 12.2 | 2.2 | 0.2 | 32.3 | 2025-11-24 08:46:22 ~ 2025-11-24 08:46:53 |
| oltp_read_write | 32 | 63,486 | 3,174 | 10.08 | 15.83 | 0.2 | 13.5 | 2.2 | 0.1 | 33.5 | 2025-11-24 08:46:55 ~ 2025-11-24 08:47:25 |
| oltp_read_write | 64 | 65,714 | 3,286 | 19.47 | 36.24 | 0.3 | 13.7 | 2.0 | 0.0 | 33.2 | 2025-11-24 08:47:27 ~ 2025-11-24 08:47:57 |
| oltp_read_write | 128 | 67,345 | 3,367 | 37.99 | 75.82 | 0.3 | 14.0 | 2.0 | 0.0 | 32.0 | 2025-11-24 08:47:59 ~ 2025-11-24 08:48:29 |
| oltp_write_only | 1 | 15,367 | 2,561 | 0.39 | 0.63 | 0.0 | 2.1 | 1.1 | 0.2 | 14.5 | 2025-11-24 08:48:31 ~ 2025-11-24 08:49:01 |
| oltp_write_only | 8 | 61,477 | 10,246 | 0.78 | 1.18 | 0.2 | 8.1 | 3.1 | 0.2 | 33.5 | 2025-11-24 08:49:03 ~ 2025-11-24 08:49:33 |
| oltp_write_only | 16 | 78,108 | 13,018 | 1.23 | 2.00 | 0.4 | 10.2 | 3.3 | 0.2 | 34.6 | 2025-11-24 08:49:35 ~ 2025-11-24 08:50:05 |
| oltp_write_only | 32 | 82,004 | 13,667 | 2.34 | 4.10 | 0.4 | 10.4 | 3.2 | 0.2 | 40.3 | 2025-11-24 08:50:07 ~ 2025-11-24 08:50:37 |
| oltp_write_only | 64 | 97,106 | 16,184 | 3.95 | 8.13 | 0.4 | 11.6 | 3.1 | 0.1 | 36.8 | 2025-11-24 08:50:39 ~ 2025-11-24 08:51:09 |
| oltp_write_only | 128 | 108,842 | 18,140 | 7.05 | 14.46 | 0.4 | 12.2 | 3.3 | 0.1 | 40.1 | 2025-11-24 08:51:11 ~ 2025-11-24 08:51:41 |
第三章:huawei 环境详细报告
测试时间: 2025-11-27 10:29:08
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 60059 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 6,019 | 6,019 | 0.17 | 0.17 | 0.0 | 0.2 | 0.1 | 0.1 | 22.1 | 2025-11-24 10:03:09 ~ 2025-11-24 10:03:39 |
| oltp_point_select | 8 | 45,989 | 45,989 | 0.17 | 0.19 | 0.0 | 1.3 | 0.6 | 0.4 | 77.2 | 2025-11-24 10:03:41 ~ 2025-11-24 10:04:12 |
| oltp_point_select | 16 | 86,219 | 86,219 | 0.19 | 0.21 | 0.2 | 3.5 | 1.5 | 0.6 | 92.5 | 2025-11-24 10:04:14 ~ 2025-11-24 10:04:44 |
| oltp_point_select | 32 | 155,542 | 155,542 | 0.21 | 0.31 | 0.5 | 7.0 | 2.7 | 0.4 | 96.2 | 2025-11-24 10:04:46 ~ 2025-11-24 10:05:16 |
| oltp_point_select | 64 | 196,915 | 196,915 | 0.32 | 0.48 | 0.4 | 8.7 | 3.2 | 0.0 | 95.2 | 2025-11-24 10:05:18 ~ 2025-11-24 10:05:48 |
| oltp_point_select | 128 | 190,484 | 190,484 | 0.67 | 0.94 | 0.5 | 8.6 | 3.2 | 0.0 | 90.4 | 2025-11-24 10:05:50 ~ 2025-11-24 10:06:20 |
| oltp_read_only | 1 | 4,433 | 277 | 3.61 | 4.10 | 0.0 | 0.5 | 0.1 | 0.0 | 5.7 | 2025-11-24 10:06:22 ~ 2025-11-24 10:06:52 |
| oltp_read_only | 8 | 27,454 | 1,716 | 4.66 | 6.79 | 0.0 | 4.1 | 0.5 | 0.1 | 29.2 | 2025-11-24 10:06:54 ~ 2025-11-24 10:07:24 |
| oltp_read_only | 16 | 41,995 | 2,625 | 6.09 | 9.06 | 0.1 | 7.6 | 0.7 | 0.1 | 38.9 | 2025-11-24 10:07:26 ~ 2025-11-24 10:07:56 |
| oltp_read_only | 32 | 49,173 | 3,073 | 10.41 | 16.71 | 0.1 | 10.2 | 0.8 | 0.1 | 41.8 | 2025-11-24 10:07:58 ~ 2025-11-24 10:08:28 |
| oltp_read_only | 64 | 51,212 | 3,201 | 19.99 | 31.94 | 0.2 | 11.1 | 0.9 | 0.0 | 41.0 | 2025-11-24 10:08:30 ~ 2025-11-24 10:09:00 |
| oltp_read_only | 128 | 51,027 | 3,189 | 40.12 | 53.85 | 0.2 | 11.2 | 0.9 | 0.0 | 39.5 | 2025-11-24 10:09:02 ~ 2025-11-24 10:09:32 |
| oltp_read_write | 1 | 3,728 | 186 | 5.36 | 6.79 | 0.0 | 0.6 | 0.2 | 0.2 | 50.4 | 2025-11-24 10:09:34 ~ 2025-11-24 10:10:04 |
| oltp_read_write | 8 | 25,512 | 1,276 | 6.27 | 8.43 | 0.1 | 4.6 | 0.8 | 0.8 | 92.8 | 2025-11-24 10:10:06 ~ 2025-11-24 10:10:36 |
| oltp_read_write | 16 | 40,124 | 2,006 | 7.97 | 11.45 | 0.1 | 7.6 | 1.0 | 0.6 | 91.4 | 2025-11-24 10:10:38 ~ 2025-11-24 10:11:08 |
| oltp_read_write | 32 | 49,743 | 2,487 | 12.86 | 20.00 | 0.1 | 10.1 | 1.1 | 0.4 | 90.3 | 2025-11-24 10:11:10 ~ 2025-11-24 10:11:40 |
| oltp_read_write | 64 | 51,940 | 2,597 | 24.63 | 49.21 | 0.2 | 10.8 | 1.0 | 0.2 | 90.0 | 2025-11-24 10:11:42 ~ 2025-11-24 10:12:12 |
| oltp_read_write | 128 | 52,357 | 2,618 | 48.87 | 106.75 | 0.2 | 10.6 | 1.0 | 0.2 | 86.6 | 2025-11-24 10:12:14 ~ 2025-11-24 10:12:45 |
| oltp_write_only | 1 | 4,930 | 822 | 1.22 | 2.35 | 0.0 | 0.5 | 0.2 | 0.2 | 37.4 | 2025-11-24 10:12:47 ~ 2025-11-24 10:13:17 |
| oltp_write_only | 8 | 30,173 | 5,029 | 1.59 | 2.86 | 0.1 | 2.7 | 0.7 | 0.5 | 78.5 | 2025-11-24 10:13:19 ~ 2025-11-24 10:13:49 |
| oltp_write_only | 16 | 49,163 | 8,194 | 1.95 | 3.49 | 0.1 | 4.8 | 1.2 | 0.6 | 87.7 | 2025-11-24 10:13:51 ~ 2025-11-24 10:14:21 |
| oltp_write_only | 32 | 70,800 | 11,800 | 2.71 | 5.00 | 0.2 | 7.1 | 1.6 | 0.5 | 91.8 | 2025-11-24 10:14:23 ~ 2025-11-24 10:14:53 |
| oltp_write_only | 64 | 85,898 | 14,316 | 4.47 | 8.90 | 0.3 | 8.8 | 1.9 | 0.4 | 93.3 | 2025-11-24 10:14:55 ~ 2025-11-24 10:15:25 |
| oltp_write_only | 128 | 64,958 | 10,826 | 11.82 | 17.95 | 0.2 | 6.3 | 1.5 | 0.5 | 97.7 | 2025-11-24 10:15:27 ~ 2025-11-24 10:15:57 |
第四章:aliyun 环境详细报告
测试时间: 2025-11-27 10:28:27
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 811 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 15,750 | 15,750 | 0.06 | 0.07 | 0.5 | 1.7 | 1.0 | 0.8 | 22.6 | 2025-11-23 07:59:31 ~ 2025-11-23 08:00:01 |
| oltp_point_select | 8 | 109,914 | 109,914 | 0.07 | 0.08 | 4.6 | 14.8 | 7.5 | 4.6 | 77.7 | 2025-11-23 08:00:03 ~ 2025-11-23 08:00:33 |
| oltp_point_select | 16 | 196,497 | 196,497 | 0.08 | 0.10 | 9.2 | 32.1 | 17.0 | 3.7 | 90.2 | 2025-11-23 08:00:35 ~ 2025-11-23 08:01:05 |
| oltp_point_select | 32 | 301,160 | 301,160 | 0.11 | 0.16 | 13.4 | 46.4 | 30.8 | 0.8 | 94.7 | 2025-11-23 08:01:07 ~ 2025-11-23 08:01:37 |
| oltp_point_select | 64 | 328,098 | 328,098 | 0.19 | 0.29 | 13.6 | 48.1 | 33.6 | 0.0 | 90.5 | 2025-11-23 08:01:39 ~ 2025-11-23 08:02:09 |
| oltp_point_select | 128 | 309,373 | 309,373 | 0.41 | 0.59 | 13.3 | 48.2 | 33.8 | 0.0 | 81.9 | 2025-11-23 08:02:11 ~ 2025-11-23 08:02:41 |
| oltp_read_only | 1 | 9,389 | 587 | 1.70 | 2.03 | 0.3 | 6.0 | 0.7 | 0.2 | 5.2 | 2025-11-23 08:02:43 ~ 2025-11-23 08:03:13 |
| oltp_read_only | 8 | 60,278 | 3,767 | 2.12 | 2.43 | 2.7 | 50.3 | 5.4 | 1.1 | 27.4 | 2025-11-23 08:03:15 ~ 2025-11-23 08:03:45 |
| oltp_read_only | 16 | 76,662 | 4,791 | 3.34 | 4.57 | 4.0 | 71.2 | 8.8 | 0.4 | 31.7 | 2025-11-23 08:03:47 ~ 2025-11-23 08:04:17 |
| oltp_read_only | 32 | 84,123 | 5,258 | 6.08 | 8.58 | 4.0 | 80.6 | 9.8 | 0.1 | 33.2 | 2025-11-23 08:04:19 ~ 2025-11-23 08:04:49 |
| oltp_read_only | 64 | 85,224 | 5,326 | 12.01 | 15.55 | 3.9 | 81.8 | 10.5 | 0.0 | 30.8 | 2025-11-23 08:04:51 ~ 2025-11-23 08:05:21 |
| oltp_read_only | 128 | 85,054 | 5,316 | 24.07 | 26.68 | 3.8 | 81.6 | 10.4 | 0.0 | 29.0 | 2025-11-23 08:05:23 ~ 2025-11-23 08:05:53 |
| oltp_read_write | 1 | 7,952 | 398 | 2.51 | 3.30 | 0.4 | 6.9 | 2.6 | 2.6 | 73.0 | 2025-11-23 08:05:55 ~ 2025-11-23 08:06:25 |
| oltp_read_write | 8 | 51,194 | 2,560 | 3.12 | 4.10 | 3.0 | 48.6 | 10.3 | 5.2 | 94.7 | 2025-11-23 08:06:27 ~ 2025-11-23 08:06:57 |
| oltp_read_write | 16 | 71,761 | 3,588 | 4.46 | 6.32 | 4.1 | 67.2 | 11.6 | 1.6 | 85.0 | 2025-11-23 08:06:59 ~ 2025-11-23 08:07:30 |
| oltp_read_write | 32 | 81,858 | 4,093 | 7.82 | 11.65 | 4.2 | 77.9 | 11.9 | 0.4 | 83.9 | 2025-11-23 08:07:32 ~ 2025-11-23 08:08:02 |
| oltp_read_write | 64 | 83,569 | 4,178 | 15.31 | 29.72 | 4.2 | 78.7 | 12.1 | 0.2 | 83.7 | 2025-11-23 08:08:04 ~ 2025-11-23 08:08:34 |
| oltp_read_write | 128 | 82,403 | 4,120 | 31.04 | 86.00 | 4.3 | 77.6 | 12.8 | 0.2 | 81.8 | 2025-11-23 08:08:36 ~ 2025-11-23 08:09:06 |
| oltp_write_only | 1 | 12,484 | 2,081 | 0.48 | 0.99 | 0.5 | 5.7 | 2.2 | 1.8 | 33.3 | 2025-11-23 08:09:08 ~ 2025-11-23 08:09:38 |
| oltp_write_only | 8 | 61,401 | 10,233 | 0.78 | 1.37 | 3.3 | 33.1 | 11.4 | 4.6 | 78.9 | 2025-11-23 08:09:40 ~ 2025-11-23 08:10:10 |
| oltp_write_only | 16 | 90,134 | 15,022 | 1.06 | 1.70 | 5.0 | 47.3 | 15.9 | 3.8 | 83.7 | 2025-11-23 08:10:12 ~ 2025-11-23 08:10:42 |
| oltp_write_only | 32 | 101,548 | 16,925 | 1.89 | 2.86 | 5.6 | 50.4 | 17.0 | 3.2 | 88.5 | 2025-11-23 08:10:44 ~ 2025-11-23 08:11:14 |
| oltp_write_only | 64 | 110,923 | 18,487 | 3.46 | 7.17 | 5.8 | 52.8 | 17.6 | 2.4 | 86.8 | 2025-11-23 08:11:16 ~ 2025-11-23 08:11:47 |
| oltp_write_only | 128 | 121,385 | 20,231 | 6.32 | 23.95 | 6.5 | 58.8 | 18.9 | 2.0 | 85.4 | 2025-11-23 08:11:49 ~ 2025-11-23 08:12:19 |
第五章:aliyun.trx1 环境详细报告
测试时间: 2025-11-27 10:27:05
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 791 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 15,625 | 15,625 | 0.06 | 0.07 | 0.5 | 1.8 | 0.9 | 0.8 | 22.3 | 2025-11-23 19:27:06 ~ 2025-11-23 19:27:36 |
| oltp_point_select | 8 | 113,189 | 113,189 | 0.07 | 0.08 | 4.7 | 15.6 | 7.6 | 4.7 | 78.1 | 2025-11-23 19:27:38 ~ 2025-11-23 19:28:08 |
| oltp_point_select | 16 | 195,783 | 195,783 | 0.08 | 0.10 | 9.1 | 31.9 | 16.4 | 3.9 | 90.4 | 2025-11-23 19:28:10 ~ 2025-11-23 19:28:40 |
| oltp_point_select | 32 | 302,140 | 302,140 | 0.11 | 0.16 | 13.1 | 46.5 | 30.2 | 0.8 | 93.8 | 2025-11-23 19:28:42 ~ 2025-11-23 19:29:12 |
| oltp_point_select | 64 | 326,549 | 326,549 | 0.20 | 0.29 | 13.6 | 47.2 | 33.4 | 0.0 | 90.1 | 2025-11-23 19:29:14 ~ 2025-11-23 19:29:44 |
| oltp_point_select | 128 | 310,429 | 310,429 | 0.41 | 0.58 | 13.2 | 47.4 | 33.5 | 0.0 | 81.1 | 2025-11-23 19:29:46 ~ 2025-11-23 19:30:16 |
| oltp_read_only | 1 | 9,311 | 582 | 1.72 | 2.03 | 0.3 | 5.6 | 0.6 | 0.2 | 5.0 | 2025-11-23 19:30:18 ~ 2025-11-23 19:30:48 |
| oltp_read_only | 8 | 59,695 | 3,731 | 2.14 | 2.43 | 2.7 | 48.4 | 5.5 | 1.1 | 27.2 | 2025-11-23 19:30:50 ~ 2025-11-23 19:31:20 |
| oltp_read_only | 16 | 76,820 | 4,801 | 3.33 | 4.57 | 3.9 | 70.1 | 8.5 | 0.4 | 31.7 | 2025-11-23 19:31:22 ~ 2025-11-23 19:31:52 |
| oltp_read_only | 32 | 84,023 | 5,251 | 6.09 | 8.58 | 3.9 | 79.1 | 9.6 | 0.1 | 31.6 | 2025-11-23 19:31:54 ~ 2025-11-23 19:32:24 |
| oltp_read_only | 64 | 85,283 | 5,330 | 12.00 | 15.55 | 3.9 | 80.2 | 10.3 | 0.0 | 31.0 | 2025-11-23 19:32:26 ~ 2025-11-23 19:32:56 |
| oltp_read_only | 128 | 85,127 | 5,320 | 24.05 | 27.17 | 3.7 | 79.4 | 10.1 | 0.0 | 28.7 | 2025-11-23 19:32:58 ~ 2025-11-23 19:33:29 |
| oltp_read_write | 1 | 6,868 | 343 | 2.91 | 3.68 | 0.4 | 5.8 | 2.2 | 3.9 | 78.4 | 2025-11-23 19:33:31 ~ 2025-11-23 19:34:01 |
| oltp_read_write | 8 | 44,801 | 2,240 | 3.57 | 4.65 | 2.7 | 43.5 | 9.2 | 8.5 | 96.9 | 2025-11-23 19:34:03 ~ 2025-11-23 19:34:33 |
| oltp_read_write | 16 | 66,062 | 3,303 | 4.84 | 6.55 | 4.1 | 62.1 | 11.4 | 3.7 | 96.5 | 2025-11-23 19:34:35 ~ 2025-11-23 19:35:05 |
| oltp_read_write | 32 | 78,590 | 3,930 | 8.14 | 11.45 | 4.4 | 73.3 | 12.1 | 1.3 | 94.8 | 2025-11-23 19:35:07 ~ 2025-11-23 19:35:37 |
| oltp_read_write | 64 | 83,049 | 4,152 | 15.41 | 25.28 | 4.3 | 76.3 | 12.0 | 0.5 | 89.1 | 2025-11-23 19:35:39 ~ 2025-11-23 19:36:09 |
| oltp_read_write | 128 | 84,131 | 4,207 | 30.41 | 94.10 | 4.2 | 75.7 | 11.9 | 0.4 | 83.4 | 2025-11-23 19:36:11 ~ 2025-11-23 19:36:41 |
| oltp_write_only | 1 | 6,909 | 1,152 | 0.87 | 1.37 | 0.4 | 4.0 | 1.7 | 5.7 | 94.9 | 2025-11-23 19:36:43 ~ 2025-11-23 19:37:14 |
| oltp_write_only | 8 | 38,470 | 6,412 | 1.25 | 1.93 | 2.0 | 22.2 | 7.5 | 7.8 | 97.7 | 2025-11-23 19:37:16 ~ 2025-11-23 19:37:46 |
| oltp_write_only | 16 | 57,604 | 9,601 | 1.67 | 2.43 | 3.2 | 28.4 | 10.1 | 7.1 | 97.6 | 2025-11-23 19:37:48 ~ 2025-11-23 19:38:18 |
| oltp_write_only | 32 | 88,163 | 14,694 | 2.18 | 3.13 | 5.1 | 41.1 | 14.4 | 4.7 | 97.6 | 2025-11-23 19:38:20 ~ 2025-11-23 19:38:50 |
| oltp_write_only | 64 | 112,561 | 18,760 | 3.41 | 4.74 | 6.1 | 52.3 | 17.9 | 2.5 | 97.3 | 2025-11-23 19:38:52 ~ 2025-11-23 19:39:22 |
| oltp_write_only | 128 | 105,554 | 17,592 | 7.27 | 9.22 | 5.6 | 49.4 | 16.8 | 2.3 | 94.8 | 2025-11-23 19:39:24 ~ 2025-11-23 19:39:54 |
第六章:aws.gp3 环境详细报告
测试时间: 2025-11-28 11:28:11
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 8979 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 2,316 | 2,316 | 0.43 | 0.67 | 0.3 | 1.8 | 0.5 | 0.3 | 4.6 | 2025-11-28 11:15:20 ~ 2025-11-28 11:15:50 |
| oltp_point_select | 8 | 60,437 | 60,437 | 0.13 | 0.46 | 3.0 | 16.4 | 6.1 | 4.7 | 59.8 | 2025-11-28 11:15:52 ~ 2025-11-28 11:16:23 |
| oltp_point_select | 16 | 162,670 | 162,670 | 0.10 | 0.14 | 7.2 | 43.6 | 20.4 | 3.6 | 91.5 | 2025-11-28 11:16:25 ~ 2025-11-28 11:16:55 |
| oltp_point_select | 32 | 232,535 | 232,535 | 0.14 | 0.23 | 6.6 | 58.1 | 26.7 | 1.4 | 94.6 | 2025-11-28 11:16:57 ~ 2025-11-28 11:17:27 |
| oltp_point_select | 64 | 228,321 | 228,321 | 0.28 | 0.39 | 6.9 | 59.1 | 28.1 | 0.0 | 92.8 | 2025-11-28 11:17:29 ~ 2025-11-28 11:17:59 |
| oltp_point_select | 128 | 217,381 | 217,381 | 0.59 | 0.78 | 6.4 | 59.6 | 28.1 | 0.0 | 86.7 | 2025-11-28 11:18:01 ~ 2025-11-28 11:18:31 |
| oltp_read_only | 1 | 1,692 | 106 | 9.45 | 10.65 | 0.3 | 2.2 | 0.4 | 0.1 | 2.0 | 2025-11-28 11:18:33 ~ 2025-11-28 11:19:03 |
| oltp_read_only | 8 | 31,915 | 1,995 | 4.01 | 6.67 | 1.8 | 34.3 | 4.6 | 1.5 | 26.1 | 2025-11-28 11:19:05 ~ 2025-11-28 11:19:35 |
| oltp_read_only | 16 | 59,828 | 3,739 | 4.28 | 6.21 | 2.7 | 67.8 | 8.3 | 0.9 | 40.5 | 2025-11-28 11:19:37 ~ 2025-11-28 11:20:07 |
| oltp_read_only | 32 | 66,972 | 4,186 | 7.64 | 11.24 | 2.4 | 79.6 | 9.5 | 0.3 | 42.0 | 2025-11-28 11:20:09 ~ 2025-11-28 11:20:39 |
| oltp_read_only | 64 | 67,678 | 4,230 | 15.13 | 22.28 | 2.6 | 81.4 | 10.1 | 0.0 | 41.4 | 2025-11-28 11:20:41 ~ 2025-11-28 11:21:11 |
| oltp_read_only | 128 | 67,480 | 4,217 | 30.33 | 34.33 | 2.4 | 81.4 | 10.0 | 0.0 | 38.4 | 2025-11-28 11:21:13 ~ 2025-11-28 11:21:43 |
| oltp_read_write | 1 | 1,741 | 87 | 11.48 | 15.00 | 0.3 | 3.2 | 1.2 | 3.1 | 38.8 | 2025-11-28 11:21:45 ~ 2025-11-28 11:22:15 |
| oltp_read_write | 8 | 19,019 | 951 | 8.41 | 17.32 | 1.3 | 25.3 | 5.9 | 15.7 | 94.5 | 2025-11-28 11:22:17 ~ 2025-11-28 11:22:47 |
| oltp_read_write | 16 | 42,144 | 2,107 | 7.59 | 15.00 | 2.2 | 50.3 | 8.9 | 10.8 | 94.7 | 2025-11-28 11:22:49 ~ 2025-11-28 11:23:19 |
| oltp_read_write | 32 | 60,885 | 3,044 | 10.51 | 15.83 | 2.4 | 71.0 | 10.2 | 2.7 | 90.0 | 2025-11-28 11:23:21 ~ 2025-11-28 11:23:51 |
| oltp_read_write | 64 | 64,869 | 3,243 | 19.72 | 33.72 | 2.5 | 75.7 | 10.7 | 1.0 | 87.9 | 2025-11-28 11:23:53 ~ 2025-11-28 11:24:24 |
| oltp_read_write | 128 | 63,936 | 3,197 | 40.01 | 116.80 | 2.6 | 76.2 | 10.7 | 1.4 | 89.4 | 2025-11-28 11:24:26 ~ 2025-11-28 11:24:56 |
| oltp_write_only | 1 | 1,689 | 282 | 3.55 | 5.99 | 0.3 | 2.9 | 1.1 | 4.4 | 42.9 | 2025-11-28 11:24:58 ~ 2025-11-28 11:25:28 |
| oltp_write_only | 8 | 17,630 | 2,938 | 2.72 | 5.67 | 1.2 | 18.0 | 5.5 | 7.8 | 72.3 | 2025-11-28 11:25:30 ~ 2025-11-28 11:26:00 |
| oltp_write_only | 16 | 34,757 | 5,793 | 2.76 | 5.67 | 1.9 | 26.9 | 8.3 | 8.0 | 84.9 | 2025-11-28 11:26:02 ~ 2025-11-28 11:26:32 |
| oltp_write_only | 32 | 36,656 | 6,109 | 5.24 | 15.00 | 1.7 | 25.6 | 7.7 | 17.7 | 95.5 | 2025-11-28 11:26:34 ~ 2025-11-28 11:27:04 |
| oltp_write_only | 64 | 43,519 | 7,253 | 8.82 | 29.72 | 2.0 | 29.3 | 9.1 | 20.9 | 97.5 | 2025-11-28 11:27:06 ~ 2025-11-28 11:27:36 |
| oltp_write_only | 128 | 52,980 | 8,830 | 14.49 | 44.98 | 2.3 | 34.6 | 11.0 | 22.3 | 98.1 | 2025-11-28 11:27:38 ~ 2025-11-28 11:28:09 |
第七章:aws.io1 环境详细报告
测试时间: 2025-11-28 11:09:53
测试工具: sysbench + tsar (按时间段精确匹配)
tsar数据样本: 7925 条记录
测试配置信息
1 | === 测试配置信息 === |
MySQL配置参数
1 | mysql: [Warning] Using a password on the command line interface can be insecure. |
压测服务器配置
1 | === CPU 信息 === |
性能测试结果汇总 (含CPU/IO监控数据)
| 测试场景 | 并发数 | QPS | TPS | 平均延迟(ms) | 95%延迟(ms) | CPU软中断(%) | CPU用户(%) | CPU系统(%) | CPU等待(%) | IO利用率(%) | 测试时间段 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| oltp_point_select | 1 | 1,835 | 1,835 | 0.54 | 0.72 | 0.3 | 2.4 | 1.0 | 8.6 | 89.6 | 2025-11-28 10:57:00 ~ 2025-11-28 10:57:30 |
| oltp_point_select | 8 | 56,871 | 56,871 | 0.14 | 0.49 | 3.1 | 14.2 | 5.2 | 5.4 | 64.7 | 2025-11-28 10:57:32 ~ 2025-11-28 10:58:02 |
| oltp_point_select | 16 | 170,296 | 170,296 | 0.09 | 0.13 | 7.4 | 43.1 | 19.7 | 3.1 | 90.8 | 2025-11-28 10:58:04 ~ 2025-11-28 10:58:34 |
| oltp_point_select | 32 | 251,905 | 251,905 | 0.13 | 0.20 | 6.2 | 58.5 | 25.3 | 1.3 | 94.2 | 2025-11-28 10:58:36 ~ 2025-11-28 10:59:06 |
| oltp_point_select | 64 | 249,718 | 249,718 | 0.26 | 0.36 | 7.1 | 59.0 | 28.1 | 0.0 | 90.9 | 2025-11-28 10:59:08 ~ 2025-11-28 10:59:38 |
| oltp_point_select | 128 | 236,283 | 236,283 | 0.54 | 0.72 | 6.5 | 59.9 | 27.8 | 0.0 | 83.4 | 2025-11-28 10:59:40 ~ 2025-11-28 11:00:10 |
| oltp_read_only | 1 | 1,845 | 115 | 8.67 | 10.46 | 0.3 | 2.2 | 0.3 | 0.1 | 1.5 | 2025-11-28 11:00:12 ~ 2025-11-28 11:00:42 |
| oltp_read_only | 8 | 28,879 | 1,805 | 4.43 | 7.43 | 2.0 | 26.8 | 3.6 | 1.0 | 20.0 | 2025-11-28 11:00:44 ~ 2025-11-28 11:01:14 |
| oltp_read_only | 16 | 64,551 | 4,034 | 3.96 | 5.88 | 2.7 | 66.8 | 7.7 | 0.7 | 37.5 | 2025-11-28 11:01:16 ~ 2025-11-28 11:01:46 |
| oltp_read_only | 32 | 73,173 | 4,573 | 6.99 | 11.24 | 2.5 | 79.5 | 9.2 | 0.3 | 39.7 | 2025-11-28 11:01:48 ~ 2025-11-28 11:02:18 |
| oltp_read_only | 64 | 74,400 | 4,650 | 13.76 | 19.65 | 2.6 | 81.9 | 10.0 | 0.0 | 37.2 | 2025-11-28 11:02:20 ~ 2025-11-28 11:02:50 |
| oltp_read_only | 128 | 74,024 | 4,626 | 27.65 | 31.37 | 2.5 | 81.6 | 10.0 | 0.0 | 36.0 | 2025-11-28 11:02:52 ~ 2025-11-28 11:03:22 |
| oltp_read_write | 1 | 1,924 | 96 | 10.39 | 13.95 | 0.3 | 3.0 | 1.2 | 2.6 | 37.3 | 2025-11-28 11:03:24 ~ 2025-11-28 11:03:54 |
| oltp_read_write | 8 | 24,967 | 1,248 | 6.41 | 9.73 | 1.6 | 26.0 | 6.0 | 8.2 | 92.0 | 2025-11-28 11:03:56 ~ 2025-11-28 11:04:27 |
| oltp_read_write | 16 | 54,742 | 2,737 | 5.84 | 9.06 | 2.7 | 59.0 | 10.1 | 4.5 | 95.7 | 2025-11-28 11:04:29 ~ 2025-11-28 11:04:59 |
| oltp_read_write | 32 | 68,211 | 3,411 | 9.38 | 13.70 | 2.6 | 73.2 | 10.3 | 2.2 | 89.3 | 2025-11-28 11:05:01 ~ 2025-11-28 11:05:31 |
| oltp_read_write | 64 | 71,816 | 3,591 | 17.81 | 29.72 | 2.7 | 78.2 | 11.2 | 0.7 | 88.3 | 2025-11-28 11:05:33 ~ 2025-11-28 11:06:03 |
| oltp_read_write | 128 | 70,575 | 3,529 | 36.24 | 106.75 | 2.7 | 76.1 | 11.0 | 1.2 | 88.7 | 2025-11-28 11:06:05 ~ 2025-11-28 11:06:35 |
| oltp_write_only | 1 | 1,786 | 298 | 3.36 | 5.09 | 0.3 | 2.6 | 1.1 | 3.4 | 35.3 | 2025-11-28 11:06:37 ~ 2025-11-28 11:07:07 |
| oltp_write_only | 8 | 19,047 | 3,174 | 2.52 | 4.82 | 1.4 | 13.9 | 4.7 | 6.8 | 65.8 | 2025-11-28 11:07:09 ~ 2025-11-28 11:07:39 |
| oltp_write_only | 16 | 39,006 | 6,501 | 2.46 | 4.65 | 2.2 | 25.9 | 8.5 | 7.0 | 80.9 | 2025-11-28 11:07:41 ~ 2025-11-28 11:08:11 |
| oltp_write_only | 32 | 68,442 | 11,407 | 2.80 | 5.37 | 3.0 | 41.0 | 12.3 | 5.7 | 87.6 | 2025-11-28 11:08:13 ~ 2025-11-28 11:08:43 |
| oltp_write_only | 64 | 94,216 | 15,703 | 4.07 | 7.70 | 3.6 | 53.5 | 15.8 | 3.8 | 91.0 | 2025-11-28 11:08:45 ~ 2025-11-28 11:09:16 |
| oltp_write_only | 128 | 66,370 | 11,062 | 11.37 | 24.38 | 2.5 | 39.9 | 12.5 | 5.2 | 96.3 | 2025-11-28 11:09:18 ~ 2025-11-28 11:09:51 |
附录:监控指标说明
监控数据说明
| 报告列名 | tsar对应列 | 说明 |
|---|---|---|
| CPU软中断(%) | sirq | 软中断CPU使用率 |
| CPU用户(%) | user | 用户态CPU使用率 |
| CPU系统(%) | sys | 内核态CPU使用率 |
| CPU等待(%) | wait | IO等待时间占用的CPU |
| IO利用率(%) | util (IO部分) | 磁盘IO使用率 |
性能指标说明
- QPS (Queries Per Second): 每秒查询数,衡量数据库处理查询的能力
- TPS (Transactions Per Second): 每秒事务数,与QPS在点查询场景下相等
- 平均延迟: 所有请求的平均响应时间
- 95%延迟: 95%的请求响应时间不超过此值,更能反映用户体验
测试场景说明
| 场景 | 描述 | 主要指标 |
|---|---|---|
| oltp_point_select | 主键点查询 | QPS, 延迟 |
| oltp_read_only | 只读事务(包含多表JOIN) | TPS, QPS |
| oltp_read_write | 读写混合事务 | TPS, 延迟 |
| oltp_write_only | 只写事务 | TPS, IO利用率 |
数据来源说明
- CPU/IO数据来源于tsar监控日志,按测试时间段精确匹配并计算平均值
- 系统监控数据与性能数据时间精确对应,确保数据准确性
- 测试使用sysbench工具,针对MySQL数据库进行标准化性能测试
报告生成时间: 2025-11-28 19:52:51