-2

我在 SQL Server 2008r2 中运行查询,它被卡住了

任务状态:暂停(有时更改为正在运行,但主要是暂停)

等待类型:IO_Completion。

同时在 tempdb 上运行另一个查询。

有没有办法解决这个问题?

谢谢

4

1 回答 1

0

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.

于 2013-07-15T17:37:31.457 回答