Query is extremely slow due to Lazy Index Spool

无人久伴 提交于 2019-12-13 02:59:49

问题


On a powerful machine the SQL Server query is running too slowly.

In the execution plan I can see that most of the time spent goes to a "Lazy Index Spooling" process. In the query some aggregate functions are being used for calculation of values.

How can I speed-up the query (machine resources are enough)?

Thanks in advance.

来源:https://stackoverflow.com/questions/26314632/query-is-extremely-slow-due-to-lazy-index-spool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!