分页查询超时 #1293
xiaojy3954
started this conversation in
General
分页查询超时
#1293
Replies: 1 comment
-
具体问题,打印出具体的 SQL 进行分析,使用 fsql.Aop.CommandAfter 事件可以记录超时的 SQL。 fsql.Aop.CommandAfter += (s, e) =>
{
if (e.ElapsedMilliseconds > 200)
{
//记录日志
//发送短信给负责人
}
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用分页查询之后返回的数据第1页和第二页数据可以秒出,但是第3页开始 查询数据就会报查询超时,数据源5万条数据,大佬们知道问题出在哪里吗?
Beta Was this translation helpful? Give feedback.
All reactions