Quartz.NET 调度程序突然需要一段时间才能返回作业详细信息
在过去的几个月里,我在我的应用程序中经常使用 Quartz.NET,并且它的性能一直很棒。昨天,它突然开始花费比平时更长的时间来执行类似以下的事情:
JobDetail jobDetail = sched.GetJobDetail(jobName, jobGroup);
通常所花费的时间甚至不明显,现在至少需要 2-3 秒 - 当将多个时间加起来时,速度令人震惊。
可能是什么原因造成的?如果有任何帮助的话,我正在将 Quartz.NET 与 ADO.NET 存储结合使用,并且访问该数据库似乎一如既往地快。
I have been using Quartz.NET in my application a lot over the past few months, and its performance has always been great. Yesterday, it suddenly began taking much longer than usual to execute something like the following:
JobDetail jobDetail = sched.GetJobDetail(jobName, jobGroup);
Usually the time it takes is not even noticable, and now it takes at least 2-3 seconds - and when adding up multiple of these the speed is appaling.
What can be causing this? If it's any help, I'm using Quartz.NET with an ADO.NET store, and access to this database seems as fast as ever.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
表格上有索引吗?也许表现在已经有足够的条目了,这很重要?
Do you have indexes on the tables? Perhaps the table has now had enough entries that this matters?