Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 What might cause Index corruption?

Author  Topic 

Abigal
Starting Member

3 Posts

Posted - 2006-03-24 : 09:36:14
Hi, I have experience an Index corruption on one table. I'd like to know the root cause so that I can provent it. Here is some information about the table.

1)This records of the table may be frequently Deleted/Inserted/Updated via stored procedures, one record at a time (no bulk operations).

2)I noticed there are unnecessary index on this table. I suspect the cluster Index of ScriptID, non uncluser Index (ProjectID, ScriptID), non-cluster Index (ProjectID) caused the problem.

3)Will this be hardware related?


The following is the output of DBCC CheckTable


Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:0) identified by (RID = (1:2694:0) ScriptID = 2178) has index values (ProjectID = 1 and ScriptID = 2178 and ScriptID = 2178).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:1) identified by (RID = (1:2694:1) ScriptID = 2179) has index values (ProjectID = 1 and ScriptID = 2179 and ScriptID = 2179).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:2) identified by (RID = (1:2694:2) ScriptID = 2180) has index values (ProjectID = 1 and ScriptID = 2180 and ScriptID = 2180).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:3) identified by (RID = (1:2694:3) ScriptID = 2181) has index values (ProjectID = 1 and ScriptID = 2181 and ScriptID = 2181).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:4) identified by (RID = (1:2694:4) ScriptID = 2182) has index values (ProjectID = 1 and ScriptID = 2182 and ScriptID = 2182).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:5) identified by (RID = (1:2694:5) ScriptID = 2183) has index values (ProjectID = 1 and ScriptID = 2183 and ScriptID = 2183).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
DBCC results for 'tblScript'.
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:6) identified by (RID = (1:2694:6) ScriptID = 2184) has index values (ProjectID = 1 and ScriptID = 2184 and ScriptID = 2184).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:7) identified by (RID = (1:2694:7) ScriptID = 2185) has index values (ProjectID = 1 and ScriptID = 2185 and ScriptID = 2185).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:8) identified by (RID = (1:2694:8) ScriptID = 2186) has index values (ProjectID = 1 and ScriptID = 2186 and ScriptID = 2186).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:9) identified by (RID = (1:2694:9) ScriptID = 2187) has index values (ProjectID = 1 and ScriptID = 2187 and ScriptID = 2187).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:10) identified by (RID = (1:2694:10) ScriptID = 2188) has index values (ProjectID = 1 and ScriptID = 2188 and ScriptID = 2188).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:11) identified by (RID = (1:2694:11) ScriptID = 2189) has index values (ProjectID = 1 and ScriptID = 2189 and ScriptID = 2189).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:12) identified by (RID = (1:2694:12) ScriptID = 2190) has index values (ProjectID = 1 and ScriptID = 2190 and ScriptID = 2190).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:13) identified by (RID = (1:2694:13) ScriptID = 2191) has index values (ProjectID = 1 and ScriptID = 2191 and ScriptID = 2191).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:14) identified by (RID = (1:2694:14) ScriptID = 2192) has index values (ProjectID = 1 and ScriptID = 2192 and ScriptID = 2192).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:15) identified by (RID = (1:2694:15) ScriptID = 2193) has index values (ProjectID = 1 and ScriptID = 2193 and ScriptID = 2193).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:16) identified by (RID = (1:2694:16) ScriptID = 2194) has index values (ProjectID = 1 and ScriptID = 2194 and ScriptID = 2194).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:17) identified by (RID = (1:2694:17) ScriptID = 2195) has index values (ProjectID = 1 and ScriptID = 2195 and ScriptID = 2195).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:18) identified by (RID = (1:2694:18) ScriptID = 2196) has index values (ProjectID = 1 and ScriptID = 2196 and ScriptID = 2196).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:19) identified by (RID = (1:2694:19) ScriptID = 2197) has index values (ProjectID = 1 and ScriptID = 2197 and ScriptID = 2197).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:20) identified by (RID = (1:2694:20) ScriptID = 2198) has index values (ProjectID = 1 and ScriptID = 2198 and ScriptID = 2198).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:21) identified by (RID = (1:2694:21) ScriptID = 2199) has index values (ProjectID = 1 and ScriptID = 2199 and ScriptID = 2199).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:22) identified by (RID = (1:2694:22) ScriptID = 2200) has index values (ProjectID = 1 and ScriptID = 2200 and ScriptID = 2200).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:23) identified by (RID = (1:2694:23) ScriptID = 2204) has index values (ProjectID = 1 and ScriptID = 2204 and ScriptID = 2204).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:24) identified by (RID = (1:2694:24) ScriptID = 2205) has index values (ProjectID = 1 and ScriptID = 2205 and ScriptID = 2205).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:25) identified by (RID = (1:2694:25) ScriptID = 2207) has index values (ProjectID = 1 and ScriptID = 2207 and ScriptID = 2207).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:26) identified by (RID = (1:2694:26) ScriptID = 2209) has index values (ProjectID = 1 and ScriptID = 2209 and ScriptID = 2209).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:27) identified by (RID = (1:2694:27) ScriptID = 2210) has index values (ProjectID = 1 and ScriptID = 2210 and ScriptID = 2210).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:28) identified by (RID = (1:2694:28) ScriptID = 2211) has index values (ProjectID = 1 and ScriptID = 2211 and ScriptID = 2211).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:29) identified by (RID = (1:2694:29) ScriptID = 2212) has index values (ProjectID = 1 and ScriptID = 2212 and ScriptID = 2212).
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:105) with values (ProjectID = 1 and ScriptID = 2170 and ScriptID = 2170) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:106) with values (ProjectID = 1 and ScriptID = 2171 and ScriptID = 2171) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:107) with values (ProjectID = 1 and ScriptID = 2173 and ScriptID = 2173) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:108) with values (ProjectID = 1 and ScriptID = 2174 and ScriptID = 2174) points to the data row identified by ().
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:0) identified by (RID = (1:2694:0) ScriptID = 2178) has index values (ProjectID = 1 and ScriptID = 2178).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:1) identified by (RID = (1:2694:1) ScriptID = 2179) has index values (ProjectID = 1 and ScriptID = 2179).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:2) identified by (RID = (1:2694:2) ScriptID = 2180) has index values (ProjectID = 1 and ScriptID = 2180).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:3) identified by (RID = (1:2694:3) ScriptID = 2181) has index values (ProjectID = 1 and ScriptID = 2181).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:4) identified by (RID = (1:2694:4) ScriptID = 2182) has index values (ProjectID = 1 and ScriptID = 2182).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:5) identified by (RID = (1:2694:5) ScriptID = 2183) has index values (ProjectID = 1 and ScriptID = 2183).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:6) identified by (RID = (1:2694:6) ScriptID = 2184) has index values (ProjectID = 1 and ScriptID = 2184).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:7) identified by (RID = (1:2694:7) ScriptID = 2185) has index values (ProjectID = 1 and ScriptID = 2185).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:8) identified by (RID = (1:2694:8) ScriptID = 2186) has index values (ProjectID = 1 and ScriptID = 2186).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:9) identified by (RID = (1:2694:9) ScriptID = 2187) has index values (ProjectID = 1 and ScriptID = 2187).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:10) identified by (RID = (1:2694:10) ScriptID = 2188) has index values (ProjectID = 1 and ScriptID = 2188).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:11) identified by (RID = (1:2694:11) ScriptID = 2189) has index values (ProjectID = 1 and ScriptID = 2189).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:12) identified by (RID = (1:2694:12) ScriptID = 2190) has index values (ProjectID = 1 and ScriptID = 2190).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:13) identified by (RID = (1:2694:13) ScriptID = 2191) has index values (ProjectID = 1 and ScriptID = 2191).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:14) identified by (RID = (1:2694:14) ScriptID = 2192) has index values (ProjectID = 1 and ScriptID = 2192).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:15) identified by (RID = (1:2694:15) ScriptID = 2193) has index values (ProjectID = 1 and ScriptID = 2193).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:16) identified by (RID = (1:2694:16) ScriptID = 2194) has index values (ProjectID = 1 and ScriptID = 2194).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:17) identified by (RID = (1:2694:17) ScriptID = 2195) has index values (ProjectID = 1 and ScriptID = 2195).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:18) identified by (RID = (1:2694:18) ScriptID = 2196) has index values (ProjectID = 1 and ScriptID = 2196).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:19) identified by (RID = (1:2694:19) ScriptID = 2197) has index values (ProjectID = 1 and ScriptID = 2197).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:20) identified by (RID = (1:2694:20) ScriptID = 2198) has index values (ProjectID = 1 and ScriptID = 2198).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:21) identified by (RID = (1:2694:21) ScriptID = 2199) has index values (ProjectID = 1 and ScriptID = 2199).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:22) identified by (RID = (1:2694:22) ScriptID = 2200) has index values (ProjectID = 1 and ScriptID = 2200).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:23) identified by (RID = (1:2694:23) ScriptID = 2204) has index values (ProjectID = 1 and ScriptID = 2204).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:24) identified by (RID = (1:2694:24) ScriptID = 2205) has index values (ProjectID = 1 and ScriptID = 2205).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:25) identified by (RID = (1:2694:25) ScriptID = 2207) has index values (ProjectID = 1 and ScriptID = 2207).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:26) identified by (RID = (1:2694:26) ScriptID = 2209) has index values (ProjectID = 1 and ScriptID = 2209).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:27) identified by (RID = (1:2694:27) ScriptID = 2210) has index values (ProjectID = 1 and ScriptID = 2210).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:28) identified by (RID = (1:2694:28) ScriptID = 2211) has index values (ProjectID = 1 and ScriptID = 2211).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:29) identified by (RID = (1:2694:29) ScriptID = 2212) has index values (ProjectID = 1 and ScriptID = 2212).
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:105) with values (ProjectID = 1 and ScriptID = 2170) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:106) with values (ProjectID = 1 and ScriptID = 2171) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:107) with values (ProjectID = 1 and ScriptID = 2173) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:108) with values (ProjectID = 1 and ScriptID = 2174) points to the data row identified by ().
There are 2234 rows in 52 pages for object 'tblScript'.
CHECKTABLE found 0 allocation errors and 68 consistency errors in table 'tblScript' (object ID 848774131).
repair_fast is the minimum repair level for the errors found by DBCC CHECKTABLE (LDAC_Figgie_Corrupted.dbo.tblScript ).

nr
SQLTeam MVY

12543 Posts

Posted - 2006-03-24 : 09:55:12
Have a look at the event log to see if there have been errors.
Often this sort of thing is caused by a hardware error but can just be a rollback failure such (these are a lot less common than they used to be as sql server is now a lot better at recovering).

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

paulrandal
Yak with Vast SQL Skills

899 Posts

Posted - 2006-03-24 : 14:35:26
Nothing you can do in T-SQL can cause this.

Can you post the output from
DBCC CHECKDB (LDAC_Figgie_Corrupted) WITGH NO_INFOMSGS, ALL_ERRORMSGS

When and how did you notice the corruption and when was the previous consistency check run?

Is there anything in the errorlog that indicates a disk problem?

What version + SP are you using?

Just to save me working it out again, some notes:

Index ID 2 missing (1, 2178) through (1, 2212)
Index ID 2 extra (1, 2170) through (1, 2174)
Index ID 4 is the same.


Paul Randal
Lead Program Manager, Microsoft SQL Server Storage Engine + SQL Express
(Legalese: This posting is provided "AS IS" with no warranties, and confers no rights.)
Go to Top of Page

Abigal
Starting Member

3 Posts

Posted - 2006-03-27 : 10:32:25
Hi, Paul

I got the database backup from the field, so I can't check the error log.

I don't think we did consistency check before, should this be included in the normal mantains plan, how often should we check this?

We noticed this because, our client applciation try to delete a record with a corrupted index, and the connection is dropped by the Sql Server.


-- Output from DBCC CheckDB

Server: Msg 8934, Level 16, State 1, Line 1
Table error: Object ID 336772307, index ID 1. The high key value on page (1:926) (level 0) is not less than the low key value in the parent (0:1), slot 0 of the next page (1:22200).
Server: Msg 8977, Level 16, State 1, Line 1
Table error: Object ID 336772307, index ID 1. Parent node for page (1:22200) was not encountered.
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:0) identified by (RID = (1:2694:0) ScriptID = 2178) has index values (ProjectID = 1 and ScriptID = 2178 and ScriptID = 2178).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:1) identified by (RID = (1:2694:1) ScriptID = 2179) has index values (ProjectID = 1 and ScriptID = 2179 and ScriptID = 2179).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:2) identified by (RID = (1:2694:2) ScriptID = 2180) has index values (ProjectID = 1 and ScriptID = 2180 and ScriptID = 2180).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:3) identified by (RID = (1:2694:3) ScriptID = 2181) has index values (ProjectID = 1 and ScriptID = 2181 and ScriptID = 2181).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:4) identified by (RID = (1:2694:4) ScriptID = 2182) has index values (ProjectID = 1 and ScriptID = 2182 and ScriptID = 2182).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
CHECKDB found 0 allocation errors and 2 consistency errors in table 'tblButtonHistory' (object ID 336772307).
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:5) identified by (RID = (1:2694:5) ScriptID = 2183) has index values (ProjectID = 1 and ScriptID = 2183 and ScriptID = 2183).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:6) identified by (RID = (1:2694:6) ScriptID = 2184) has index values (ProjectID = 1 and ScriptID = 2184 and ScriptID = 2184).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:7) identified by (RID = (1:2694:7) ScriptID = 2185) has index values (ProjectID = 1 and ScriptID = 2185 and ScriptID = 2185).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:8) identified by (RID = (1:2694:8) ScriptID = 2186) has index values (ProjectID = 1 and ScriptID = 2186 and ScriptID = 2186).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:9) identified by (RID = (1:2694:9) ScriptID = 2187) has index values (ProjectID = 1 and ScriptID = 2187 and ScriptID = 2187).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:10) identified by (RID = (1:2694:10) ScriptID = 2188) has index values (ProjectID = 1 and ScriptID = 2188 and ScriptID = 2188).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:11) identified by (RID = (1:2694:11) ScriptID = 2189) has index values (ProjectID = 1 and ScriptID = 2189 and ScriptID = 2189).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:12) identified by (RID = (1:2694:12) ScriptID = 2190) has index values (ProjectID = 1 and ScriptID = 2190 and ScriptID = 2190).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:13) identified by (RID = (1:2694:13) ScriptID = 2191) has index values (ProjectID = 1 and ScriptID = 2191 and ScriptID = 2191).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:14) identified by (RID = (1:2694:14) ScriptID = 2192) has index values (ProjectID = 1 and ScriptID = 2192 and ScriptID = 2192).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:15) identified by (RID = (1:2694:15) ScriptID = 2193) has index values (ProjectID = 1 and ScriptID = 2193 and ScriptID = 2193).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:16) identified by (RID = (1:2694:16) ScriptID = 2194) has index values (ProjectID = 1 and ScriptID = 2194 and ScriptID = 2194).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:17) identified by (RID = (1:2694:17) ScriptID = 2195) has index values (ProjectID = 1 and ScriptID = 2195 and ScriptID = 2195).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:18) identified by (RID = (1:2694:18) ScriptID = 2196) has index values (ProjectID = 1 and ScriptID = 2196 and ScriptID = 2196).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:19) identified by (RID = (1:2694:19) ScriptID = 2197) has index values (ProjectID = 1 and ScriptID = 2197 and ScriptID = 2197).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:20) identified by (RID = (1:2694:20) ScriptID = 2198) has index values (ProjectID = 1 and ScriptID = 2198 and ScriptID = 2198).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:21) identified by (RID = (1:2694:21) ScriptID = 2199) has index values (ProjectID = 1 and ScriptID = 2199 and ScriptID = 2199).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:22) identified by (RID = (1:2694:22) ScriptID = 2200) has index values (ProjectID = 1 and ScriptID = 2200 and ScriptID = 2200).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:23) identified by (RID = (1:2694:23) ScriptID = 2204) has index values (ProjectID = 1 and ScriptID = 2204 and ScriptID = 2204).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:24) identified by (RID = (1:2694:24) ScriptID = 2205) has index values (ProjectID = 1 and ScriptID = 2205 and ScriptID = 2205).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:25) identified by (RID = (1:2694:25) ScriptID = 2207) has index values (ProjectID = 1 and ScriptID = 2207 and ScriptID = 2207).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:26) identified by (RID = (1:2694:26) ScriptID = 2209) has index values (ProjectID = 1 and ScriptID = 2209 and ScriptID = 2209).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:27) identified by (RID = (1:2694:27) ScriptID = 2210) has index values (ProjectID = 1 and ScriptID = 2210 and ScriptID = 2210).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:28) identified by (RID = (1:2694:28) ScriptID = 2211) has index values (ProjectID = 1 and ScriptID = 2211 and ScriptID = 2211).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'IX_tblScript' (ID 2) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:29) identified by (RID = (1:2694:29) ScriptID = 2212) has index values (ProjectID = 1 and ScriptID = 2212 and ScriptID = 2212).
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:105) with values (ProjectID = 1 and ScriptID = 2170 and ScriptID = 2170) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:106) with values (ProjectID = 1 and ScriptID = 2171 and ScriptID = 2171) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:107) with values (ProjectID = 1 and ScriptID = 2173 and ScriptID = 2173) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.IX_tblScript' (ID 848774131) (index ID 2). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3608:108) with values (ProjectID = 1 and ScriptID = 2174 and ScriptID = 2174) points to the data row identified by ().
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:0) identified by (RID = (1:2694:0) ScriptID = 2178) has index values (ProjectID = 1 and ScriptID = 2178).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:1) identified by (RID = (1:2694:1) ScriptID = 2179) has index values (ProjectID = 1 and ScriptID = 2179).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:2) identified by (RID = (1:2694:2) ScriptID = 2180) has index values (ProjectID = 1 and ScriptID = 2180).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:3) identified by (RID = (1:2694:3) ScriptID = 2181) has index values (ProjectID = 1 and ScriptID = 2181).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:4) identified by (RID = (1:2694:4) ScriptID = 2182) has index values (ProjectID = 1 and ScriptID = 2182).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:5) identified by (RID = (1:2694:5) ScriptID = 2183) has index values (ProjectID = 1 and ScriptID = 2183).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:6) identified by (RID = (1:2694:6) ScriptID = 2184) has index values (ProjectID = 1 and ScriptID = 2184).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:7) identified by (RID = (1:2694:7) ScriptID = 2185) has index values (ProjectID = 1 and ScriptID = 2185).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:8) identified by (RID = (1:2694:8) ScriptID = 2186) has index values (ProjectID = 1 and ScriptID = 2186).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:9) identified by (RID = (1:2694:9) ScriptID = 2187) has index values (ProjectID = 1 and ScriptID = 2187).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:10) identified by (RID = (1:2694:10) ScriptID = 2188) has index values (ProjectID = 1 and ScriptID = 2188).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:11) identified by (RID = (1:2694:11) ScriptID = 2189) has index values (ProjectID = 1 and ScriptID = 2189).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:12) identified by (RID = (1:2694:12) ScriptID = 2190) has index values (ProjectID = 1 and ScriptID = 2190).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:13) identified by (RID = (1:2694:13) ScriptID = 2191) has index values (ProjectID = 1 and ScriptID = 2191).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:14) identified by (RID = (1:2694:14) ScriptID = 2192) has index values (ProjectID = 1 and ScriptID = 2192).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:15) identified by (RID = (1:2694:15) ScriptID = 2193) has index values (ProjectID = 1 and ScriptID = 2193).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:16) identified by (RID = (1:2694:16) ScriptID = 2194) has index values (ProjectID = 1 and ScriptID = 2194).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:17) identified by (RID = (1:2694:17) ScriptID = 2195) has index values (ProjectID = 1 and ScriptID = 2195).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:18) identified by (RID = (1:2694:18) ScriptID = 2196) has index values (ProjectID = 1 and ScriptID = 2196).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:19) identified by (RID = (1:2694:19) ScriptID = 2197) has index values (ProjectID = 1 and ScriptID = 2197).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:20) identified by (RID = (1:2694:20) ScriptID = 2198) has index values (ProjectID = 1 and ScriptID = 2198).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:21) identified by (RID = (1:2694:21) ScriptID = 2199) has index values (ProjectID = 1 and ScriptID = 2199).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:22) identified by (RID = (1:2694:22) ScriptID = 2200) has index values (ProjectID = 1 and ScriptID = 2200).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:23) identified by (RID = (1:2694:23) ScriptID = 2204) has index values (ProjectID = 1 and ScriptID = 2204).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:24) identified by (RID = (1:2694:24) ScriptID = 2205) has index values (ProjectID = 1 and ScriptID = 2205).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:25) identified by (RID = (1:2694:25) ScriptID = 2207) has index values (ProjectID = 1 and ScriptID = 2207).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:26) identified by (RID = (1:2694:26) ScriptID = 2209) has index values (ProjectID = 1 and ScriptID = 2209).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:27) identified by (RID = (1:2694:27) ScriptID = 2210) has index values (ProjectID = 1 and ScriptID = 2210).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:28) identified by (RID = (1:2694:28) ScriptID = 2211) has index values (ProjectID = 1 and ScriptID = 2211).
Server: Msg 8951, Level 16, State 1, Line 1
Table error: Table 'tblScript' (ID 848774131). Missing or invalid key in index 'XIF3tblScript' (ID 4) for the row:
Server: Msg 8955, Level 16, State 1, Line 1
Data row (1:2694:29) identified by (RID = (1:2694:29) ScriptID = 2212) has index values (ProjectID = 1 and ScriptID = 2212).
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:105) with values (ProjectID = 1 and ScriptID = 2170) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:106) with values (ProjectID = 1 and ScriptID = 2171) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:107) with values (ProjectID = 1 and ScriptID = 2173) points to the data row identified by ().
Server: Msg 8952, Level 16, State 1, Line 1
Table error: Database 'LDAC_Figgie_Corrupted', index 'tblScript.XIF3tblScript' (ID 848774131) (index ID 4). Extra or invalid key for the keys:
Server: Msg 8956, Level 16, State 1, Line 1
Index row (1:3609:108) with values (ProjectID = 1 and ScriptID = 2174) points to the data row identified by ().
CHECKDB found 0 allocation errors and 68 consistency errors in table 'tblScript' (object ID 848774131).
CHECKDB found 0 allocation errors and 70 consistency errors in database 'LDAC_Figgie_Corrupted'.
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (LDAC_Figgie_Corrupted ).
Go to Top of Page

Abigal
Starting Member

3 Posts

Posted - 2006-03-27 : 10:46:44
Hi, Paul

MSDE (2000), and SP 3 is used.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-03-27 : 11:44:49
I was gonna say power.....



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam
Go to Top of Page

paulrandal
Yak with Vast SQL Skills

899 Posts

Posted - 2006-03-27 : 16:47:04
Hmm - can't tell much from the errors except it looks like the clustered index b-tree is corrupt. You're looking at restoring from your backups or running repair, which shouldn't delete anything and should just rebuild all the indexes on that table.

Difficult to tell why it may have happened without errorlogs and digging into the schema to see if any bugs were fixed in SP4.

How often to run consistency checks? It depends on a bunch of factors - how much data you can afford to lose, your backup strategy, the downtime SLA if something goes wrong, flakiness of hardware/firmware...

Paul Randal
Lead Program Manager, Microsoft SQL Server Storage Engine + SQL Express
(Legalese: This posting is provided "AS IS" with no warranties, and confers no rights.)
Go to Top of Page
   

- Advertisement -