[Performance][4.2-dev] Big Data 10Y I3:INSERT … SELECT 从近期 84–87 分钟升至 106 分钟(疑似回归)

Open
#33,308 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@VioletQwQ-0 is already working on this.

Since Nov 26, 2026.

Assessment

This issue has not been assessed yet.

Description

kind/bug severity/s-1

11 月 25 日触发的 4.2-dev 10Y I3 / PK Index 成功完成,但第一条 INSERT … SELECT 用时 6,348,513.84 ms(105 分 49 秒)。此前 6 次同分支、同 SQL 的成功样本为 83 分 50 秒~86 分 30 秒,中位数 84 分 10 秒;本次高约 26%。下表均为客户端单条 SQL 的 elapsed_ms 换算值,不含排队、job 初始化或后置 COUNT 校验。

触发日期 产品 SHA INSERT 耗时(分:秒) I3 日志
11-16 5e3928a 86:12 artifact
11-18 54956dc 84:01 artifact
11-19 71e2233 84:19 artifact
11-20 8a636f8 86:30 artifact
11-22 6c05e42 83:59 artifact
11-23 a9cd179 83:50 artifact
11-25 c56af3c 105:49 artifact

测试资产 SHA 均为 22d66dfb3c31f080188f72b811151b8f7c9e2f1b。在 10Y 的 1B 数据集执行 I3:

INSERT INTO big_data_test.table_with_pk_index_for_insert_1B
(id,col1,col2,col3,col4,col5,col6,col7,col8,col9,col10,col11,col12,col13,col14,col15,col16,col17,col18,col19,col20,col21,col22,col23,col24,col25)
SELECT * FROM big_data_test.table_with_pk_for_load_1B
WHERE col4 != -7508478199581380391;

期望:相同资源、数据和并发条件下,I3 吞吐应接近近期同分支基线。本次仅观察到一次慢样本,未发现结果错误;I3 与 Q7 并行,不能据此判定产品代码导致回退。建议用最近正常的 a9cd179 与本次 c56af3c 做同条件 A/B,再决定是否对中间的提交二分。

相关历史优化:#26133 涉及同一条 SQL,但当时是 main 的优化任务;本单单独跟踪 4.2-dev 相对其自身近期基线的变化。

Dominant language
Go
Stars
1.9k
Forks
312
Avg merge
22h 59m
Merged PRs (30d)
736

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matrixorigin/matrixone

All issues in matrixorigin/matrixone

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.