Database integrity

  • Hi

    We had a drive somehow going offline and then working again 20 minutes later. The drive that went down had all the Data files. The services also all went down at that stage as the install files are also on the drive. Services were then restarted and all the databases were available again, none in recovery mode.

    In a case like that is it unnecessary to do a dbcc checkdb or would it just be better doing a checkdb to make sure all db's are ok.

  • Rather be safe than sorry and check all db's when you have a chance

  • Well you should be running CheckDB on a regular basis anyway...

    As for whether the DBs are fine or not, depends on exactly what the drives went through, so rather be safe.

    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
  • I'd still run a consistency check.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply