Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Inconsistent Results from DBCC CheckDB Expand / Collapse
Author
Message
Posted Wednesday, March 23, 2011 6:42 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 9, 2014 10:19 AM
Points: 63, Visits: 148
SQL 2000 Enterprise SP4.

Our SQL server is periodically getting 823 errors as follows:

Error: 823, Severity: 24, State: 2
I/O error (bad page ID) detected during read at offset 0x00000022018000 in file 'F:\SQLDataFiles\Click2Coach_Data.MDF'.

If I run DBCC CHECKDB sometimes it returns errors and sometimes it doesn't. Today I ran DBCC CHECKDB with repair and it reported about 12 errors fixed. However, the 823s started up again shortly after the repair finished. I've been running the DBCC CHECKDB statement periodically throughout the day. Most times it's clean but other times it returns errors. I took one of the object IDs that were in the error message and couldn't find it in sysobjects. We have run diagnostics on the disk and haven't found any problems. We also detached and moved the DB to a different drive (although it was just a logical drive), but that seemed to have no effect. Any ideas?
Post #1083065
Posted Wednesday, March 23, 2011 6:57 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 3, 2014 4:00 PM
Points: 2,038, Visits: 1,663
It's your IO subsystem, without a shadow of a doubt.

Errors are moving around because the IO subsystem is corrupting different parts of the various files.

You need to move off that IO subsystem until you figure out what is wrong with it. Use SQLIOSim to diagnose - see http://support.microsoft.com/kb/231619 - IO subsystem diagnostics are usually not sufficient to stress the IO subsystem into producing errors.

Thanks


Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
Post #1083066
Posted Wednesday, March 23, 2011 9:31 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 9, 2014 10:19 AM
Points: 63, Visits: 148
Thanks Paul for the quick response!! We'll give it a try.
Post #1083073
Posted Friday, March 25, 2011 3:42 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, July 25, 2014 3:12 AM
Points: 1,610, Visits: 5,482
Paul Randal (3/23/2011)
It's your IO subsystem, without a shadow of a doubt.


Isn't it possible it could be a memory issue? I had a (non-SQL, admittedly) problem on a machine once where files kept getting corrupted, but I eventually traced it to a problem with faulty RAM--some of the bits of the files were getting flipped in memory before they ever got written to the hard drive! Less likely on a server machine with ECC-checking RAM, of course...
Post #1083845
Posted Saturday, April 9, 2011 6:17 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 9, 2014 10:19 AM
Points: 63, Visits: 148
Hi Everyone,

It took us a while, but we eventually determined that there was something wrong with the disks (as Paul initially suspected) and the issue was resolved by replacing them.

Thanks for the help!!

Post #1091067
Posted Saturday, April 9, 2011 6:22 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, July 3, 2014 4:00 PM
Points: 2,038, Visits: 1,663
Glad you got it sorted!

Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
Post #1091068
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse