-
Notifications
You must be signed in to change notification settings - Fork 201
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
fix: 当业务下有大量的执行作业,加载 web 页面首页的时候会触发DB慢查询 #2228
Comments
wangyu096
added
kind/bug
程序故障Bug,漏洞
backlog
需求初始状态,等待产品进行评估
todo
进入开发排期的状态,纳入了最近的迭代
labels
Jul 14, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 14, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 14, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 14, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 14, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 14, 2023
wangyu096
added a commit
that referenced
this issue
Jul 14, 2023
fix: 当业务下有大量的执行作业,加载 web 页面首页的时候会触发DB慢查询 #2228
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 17, 2023
jsonwan
added a commit
that referenced
this issue
Jul 17, 2023
fix: 当业务下有大量的执行作业,加载 web 页面首页的时候会触发DB慢查询 #2228
bkjob-bot
added
done
已上线到正式环境并验收通过
and removed
backlog
需求初始状态,等待产品进行评估
todo
进入开发排期的状态,纳入了最近的迭代
labels
Jul 17, 2023
wangyu096
added a commit
to wangyu096/bk-job
that referenced
this issue
Jul 18, 2023
jsonwan
added a commit
that referenced
this issue
Jul 18, 2023
fix: 当业务下有大量的执行作业,加载 web 页面首页的时候会触发DB慢查询 #2228
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version / Branch / tag
3.7.X
出了什么问题?(What Happened?)
当业务下有大量的执行作业,加载 web 页面首页的时候会触发DB慢查询
慢查询 SQL
触发慢查询的 API:
createTime >= -2591941000 会导致全表扫描。这个时间为负数,是不合法的
如何复现?(How to reproduce?)
加载首页 - 查询最近执行记录必现
预期结果(What you expect?)
优化慢查询
The text was updated successfully, but these errors were encountered: