我的虛擬主機發生故障後,他們終於恢復了容器,但現在我在嘗試執行查詢時隨機出現錯誤。我可以做一個爲什麼會發生這種傳輸級錯誤?
Select top 20000 from Orders
但
Select * from Orders (about 100k rows total)
收到錯誤在我的管理工作室:
A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
而這個錯誤在我的錯誤日誌:
A read operation on a large object failed while sending data to the client. A common cause for this is if the application is running in READ UNCOMMITTED isolation level. This connection will be terminated.
我已經使用了錯誤並且可以看到它合作因爲「輕量級池」已啓用,但這不是這種情況。
我在Windows 2003服務器上運行mssql 2008 express。
你在讀運行未提交(或者你有使用NOLOCK某處) – 2009-06-14 01:18:57
你能指出我在哪裏我可以看到一個方向,如果我在讀未提交運行?如果它處於Read Uncommitted模式,它應該設置爲什麼模式? – Dofs 2009-06-14 19:41:05