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
 Database With erros

Author  Topic 

azsousa
Starting Member

1 Post

Posted - 2008-04-23 : 15:25:26
Hi,

I have an Sql Database wth problems. I already tried repair the database with:

DBCC CHECKDB (PRICVF2005, REPAIR_ALLOW_DATA_LOSS) WITH NO_INFOMSGS
DBCC CHECKDB (PRICVF2005, REPAIR_FAST)
DBCC CHECKDB (PRICVF2005, REPAIR_REBUILD.

The return message is:

Server: Msg 1505, Level 16, State 1, Line 1
CREATE UNIQUE INDEX terminated because a duplicate key was found for index ID 1. Most significant primary key is 'type 24, len 16'.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1703013148, Index ID 0. Keys out of order on page (1:1645), slots 13 and 14.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1703013148, Index ID 4. Keys out of order on page (1:2274), slots 21 and 22.
Server: Msg 8981, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 4. The next pointer of (1:2274) refers to page (1:7181). Neither (1:7181) nor its parent were encountered. Possible bad chain linkage.
Server: Msg 8935, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 4. The previous link (1:14157) on page (1:7464) does not match the previous page (1:2274) that the parent (1:549), slot 17 expects for this page.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 4. Page (1:7464) is missing a reference from previous page (1:14157). Possible chain linkage problem.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1703013148, Index ID 4. Keys out of order on page (1:7464), slots 21 and 22.
Server: Msg 2511, Level 16, State 1, Line 1
Table error: Object ID 1703013148, Index ID 4. Keys out of order on page (1:7464), slots 57 and 58.
Server: Msg 8935, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 4. The previous link (1:2273) on page (1:14156) does not match the previous page (1:7464) that the parent (1:549), slot 18 expects for this page.
Server: Msg 8936, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 4. B-tree chain linkage mismatch. (1:7464)->next = (1:14156), but (1:14156)->Prev = (1:2273).
Server: Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 29. Page (1:5198) was not seen in the scan although its parent (1:13811) and previous (1:12818) refer to it. Check any previous errors.
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 29. Page (1:12817) is missing a reference from previous page (1:5198). Possible chain linkage problem.
Server: Msg 8934, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 30. The high key value on page (1:7379) (level 0) is not less than the low key value in the parent (0:1), slot 0 of the next page (1:12502).
Server: Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 30. Page (1:7379) is missing a reference from previous page (1:12503). Possible chain linkage problem.
Could not repair this error.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
Server: Msg 8935, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 30. The previous link (1:12503) on page (1:12502) does not match the previous page (1:7379) that the parent (1:12693), slot 16 expects for this page.
Server: Msg 8936, Level 16, State 1, Line 1
Table error: Object ID 1703013148, index ID 30. B-tree chain linkage mismatch. (1:7379)->next = (1:12502), but (1:12502)->Prev = (1:12503).
Repairing this error requires other errors to be corrected first.
Repairing this error requires other errors to be corrected first.
CHECKDB found 0 allocation errors and 15 consistency errors in table 'Movimentos' (object ID 1703013148).
CHECKDB found 0 allocation errors and 15 consistency errors in database 'PRICVF2005'.
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (PRICVF2005 repair_allow_data_loss).
The statement has been terminated.

And i continue having the same errors all the time.

could anyone help me!!!

Thank´s

Artur Sousa

paulrandal
Yak with Vast SQL Skills

899 Posts

Posted - 2008-04-24 : 08:03:59
Is that the complete set of errors from CHECKDB? Anything for index ID 1 on that table? The repairs won't work until you remove the duplicate key in the clustered index on that table.

See [url]http://support.microsoft.com/kb/139444[/url]

Or restore from your backups.

Which version are you running? There have been some bugs in parallel index build plans that could cause the corruptions you're seeing.

Thanks

Paul Randal
SQL Server MVP, Managing Director, SQLskills.com
Go to Top of Page
   

- Advertisement -