SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Corruption Detected


Corruption Detected

Author
Message
mdiego
mdiego
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 247
We ran DBCC CHECKDB and we found some corruption in our database. What do you guys think? Correct me if I'm wrong, but does Msg 8939 tell you if there are IO issues or problems with the Hard Drive?


Msg 8928, Level 16, State 1, Line 1
Object ID 181575685, index ID 0, partition ID 72057594039042048, alloc unit ID 72057594044743680 (type In-row data): Page (1:3535306) could not be processed. See other errors for details.
Msg 8939, Level 16, State 98, Line 1
Table error: Object ID 181575685, index ID 0, partition ID 72057594039042048, alloc unit ID 72057594044743680 (type In-row data), page (1:3535306). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values are 130157065 and -4.
Msg 8928, Level 16, State 1, Line 1
Object ID 181575685, index ID 0, partition ID 72057594039042048, alloc unit ID 72057594044743680 (type In-row data): Page (3:21038754) could not be processed. See other errors for details.
Msg 8939, Level 16, State 98, Line 1
Table error: Object ID 181575685, index ID 0, partition ID 72057594039042048, alloc unit ID 72057594044743680 (type In-row data), page (3:21038754). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values are 46270473 and -4.
Msg 8928, Level 16, State 1, Line 1
Object ID 181575685, index ID 16, partition ID 72057594039566336, alloc unit ID 72057594045399040 (type In-row data): Page (1:3398991) could not be processed. See other errors for details.
Msg 8939, Level 16, State 98, Line 1
Table error: Object ID 181575685, index ID 16, partition ID 72057594039566336, alloc unit ID 72057594045399040 (type In-row data), page (1:3398991). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values are 29493257 and -4.
Msg 8976, Level 16, State 1, Line 1
Table error: Object ID 181575685, index ID 16, partition ID 72057594039566336, alloc unit ID 72057594045399040 (type In-row data). Page (1:3398991) was not seen in the scan although its parent (1:4031422) and previous (1:1694525) refer to it. Check any previous errors.
Msg 8978, Level 16, State 1, Line 1
Table error: Object ID 181575685, index ID 16, partition ID 72057594039566336, alloc unit ID 72057594045399040 (type In-row data). Page (1:9666927) is missing a reference from previous page (1:3398991). Possible chain linkage problem.
CHECKDB found 0 allocation errors and 8 consistency errors in table 'EDW_SFDC_HISTORY' (object ID 181575685).
CHECKDB found 0 allocation errors and 8 consistency errors in database 'SalesforceHistory'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (SalesforceHistory).
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86975 Visits: 45267
Ideally, restore from a clean backup.

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

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


mdiego
mdiego
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 247
From what I'm reading, if I run Repair with data loss, I would lose 3 pages from the database correct? What about the 8939 Msg? Should I be checking my IO? Thanks!
GilaMonster
GilaMonster
SSC Guru
SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)SSC Guru (86K reputation)

Group: General Forum Members
Points: 86975 Visits: 45267
Repair is not recommended, do you have a clean backup?

You have a corrupt database, therefore you need to check hardware, IO subsystem specifically. The specific errors that checkDB throws aren't what determines whether you should look at the IO subsystem or not. The presence of corruption is.

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

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


mdiego
mdiego
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 247
Ok gotcha! Thanks for your help!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search