September 1, 2010 at 8:41 am
In the last couple of days I've noticed the reindex operations (rebuilding indexes with fragmentation > then 10%), have been failing with this message upon hitting certain indexes:
Msg 211, Level 23, State 5, Line 1
Possible schema corruption. Run DBCC CHECKCATALOG.
I've identified the index in question to be the tables clustered index. DBCC CheckDB produces no errors. For some reason I can reorganize this index, but not rebuild. Any ideas why this would happen?
Our current idea to fix this is to drop and recreate the index. If this is the only way to fix this that's fine, but I would like a root cause if possible.
September 1, 2010 at 9:02 am
Does DBCC CheckCatalog return any errors?
What's the exact version of this SQL instance (SELECT @@version)
What options are on for that rebuild?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 1, 2010 at 9:05 am
Hi,
There was a bug fixed in SQL Server 2008 concerning rebuilding index using with drop existing and case mismatch. Is this the way you rebuild your indexes ?
David B.
September 1, 2010 at 9:38 am
The version is 9.0.4035.
The current command for rebuilding is pulling the names from sql server so I doubt a case mismatch is the problem. According to the statements they're matching up.
Here is the alter index command being run:
ALTER INDEX PK_index ON dbo.table REBUILD WITH (FILLFACTOR = 85) .
DBCC CheckCatalog returns no errors.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply