Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 作业执行非常慢,远超实际脚本执行时间 #2853

Closed
wangyu096 opened this issue Mar 27, 2024 · 1 comment
Closed

perf: 作业执行非常慢,远超实际脚本执行时间 #2853

wangyu096 opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels
done 已上线到正式环境并验收通过 for test 可以在测试环境进行验收 kind/enhancement 功能改进特性

Comments

@wangyu096
Copy link
Collaborator

image

版本 3.9.0-beta.1

@wangyu096 wangyu096 added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels Mar 27, 2024
@wangyu096 wangyu096 self-assigned this Mar 27, 2024
@wangyu096
Copy link
Collaborator Author

定位过程

image

处理比较慢的地方的代码如下:
image

image image image

结论

DB 表未在 gse_task_id 字段上建立索引导致请求慢

jsonwan added a commit that referenced this issue Mar 27, 2024
perf: 作业执行非常慢,远超实际脚本执行时间 #2853
@bkjob-bot bkjob-bot added done 已上线到正式环境并验收通过 and removed backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels May 13, 2024
@bkjob-bot bkjob-bot added the for test 可以在测试环境进行验收 label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 for test 可以在测试环境进行验收 kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

2 participants