FIX: Executing MAX or MIN Aggregate Functions on Column with Hypothetical Clustered Index May Result in CPU SPIN (299914)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q299914
BUG #: 350896 (SHILOH_BUGS)
SYMPTOMS
Executing the MAX or MIN aggregate functions on a column, which has a hypothetical clustered index that triggers a recompile, may cause a CPU spin to occur.
CAUSE
The statistics for the hypothetical clustered index that is generated by the Index Tuning Wizard is not refreshed. As a result, the sysindexes.rowmodctr column remains unchanged, resulting in an endless recompile loop.
RESOLUTIONTo resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
To work around this behavior drop the hypothetical clustered index as follows
DROP INDEX tablename.hind_c_2046630334_2A_3A
Where "hind_c_2046630334_2A_3A" is the name of a hypothetical clustered index created by the Index Tuning Wizard.
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbBug kbfix kbSQLServ2000sp1fix KB299914 |
---|
|