BUG: INSERT..SELECT with Ignore_Dup_Row Clustered Index StopsLast reviewed: March 9, 1998Article ID: Q181244 |
The information in this article applies to:
SYMPTOMSINSERT..SELECT with ignore_dup_row on a clustered index stops responding, and the insert never completes. Examination of sysprocesses shows the spid to be sleeping, with a waittype of 0x0013. No indication of blocking nor deadlocking is present; effectively, the insert has blocked itself.
WORKAROUNDTo work around this problem, replace the clustered index with a non-clustered index. Alternatively, removing the ignore_dup_key option from the clustered index may solve the problem.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe spid will not respond to a KILL statement; SQL Server must be shut down. Depending of the size of the insert, there may be a lengthy recovery process for the database when SQL Server is restarted.
|
Additional query words: deadlock sleep kill stop client undetected block
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |