Re: dbcc repair_allow_data_loss
From: Paul S Randal [MS] (prandal_at_online.microsoft.com)
Date: 05/04/04
- Next message: Shinichi Yoneda: "Re: tableoption"
- Previous message: Agnes Panosian: "RE: USExxxxx Files in the MSSQLDATA folder"
- In reply to: skrampe: "Re: dbcc repair_allow_data_loss"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 3 May 2004 18:41:34 -0700
> Just to be sure: You mean, that it's possible that data is lost and we do
not have any information about this in the Log-File of the repair job?
I'm not sure what's captured in the log file but DBCC always provides
output.
> So, what would you suggest if we'll find consistency errors again (with
the suggestion repair_allow_data_loss)?
I would suggest you have a hardware issue if you see it again - in fact, I'd
suggest you do root-cause analysis to make sure you hardware is sound anyway
just because you saw this corruption.
> Go back to the last complete backup? (lose 24 h work of the users)!
> Have a system downtime and try to repair the database?
>
You should always be able to restore from your backups - repair should
always be a last resort. How often you take them is up to you - you must ask
yourself 'how much data can my business afford to lose?'. If the answer is
zero, then you need to beef up your backup strategy and put in place a
disaster recovery strategy (maybe use clustering, log shipping etc). I've
seen catastophic failures where the loss has only been 15 minutes or less
with a daily full backup and log backups every 15 mins.
Regards.
-- Paul Randal Dev Lead, Microsoft SQL Server Storage Engine This posting is provided "AS IS" with no warranties, and confers no rights. "skrampe" <anonymous@discussions.microsoft.com> wrote in message news:73BA7F69-450B-4CE9-8C7C-1D8DDB0F10AF@microsoft.com... > ... > You should assume that > data was lost if you had to use this option and so your business or > application logic may no longer be correct (constraints etc). > .... > > Just to be sure: You mean, that it's possible that data is lost and we do not have any information about this in the Log-File of the repair job? > > We check our database every night. > So, what would you suggest if we'll find consistency errors again (with the suggestion repair_allow_data_loss)? > > Go back to the last complete backup? (lose 24 h work of the users)! > Have a system downtime and try to repair the database? > > Thank you very much for your help! > > Regards, > > Sven Krampe > >
- Next message: Shinichi Yoneda: "Re: tableoption"
- Previous message: Agnes Panosian: "RE: USExxxxx Files in the MSSQLDATA folder"
- In reply to: skrampe: "Re: dbcc repair_allow_data_loss"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|