Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 SQL Server 2008r2 中运行查询,它被卡住了
任务状态:暂停(有时更改为正在运行,但主要是暂停)
等待类型:IO_Completion。
同时在 tempdb 上运行另一个查询。
有没有办法解决这个问题?
谢谢
The problem was due to a join returning too many rows as intermediary results.
I changed the join order and forced the query to run in that order, it solved the problem.