Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: database could not be started
> On Mon, 11 Aug 2003 20:47:37 -0500, Burton Peltier
> <burttemp1REMOVE_THIS_at_bellsouth.net> wrote:
[snip]
But, I still don't see (maybe because I haven't been burned yet) why backing up the REDO logs during a cold backup is that big of a deal. We never back them up at any other time and these cold backups are stored in an entirely different location than any other backup - would be hard to imagine recovering these backed up REDO logs for anything other than a recover from the cold backup.
At least I have the option of recovering them if I know the database did not have a clean shutdown. I could then do a clean shutdown and open reset logs to reset the sequence number.
And, I like options at recover time - the more the better. Complicated for a junior DBA ? Maybe so.
> Does this mean I would do resetlogs with gay abandon whenever the mood
> toook me? No, of course not, because in archivelog mode, a resetlogs is
> a very serious business indeed. But in noarchivelog mode, it's trivial.
>
>
Trivial? I agree, as long as you had a "clean shutdown" for the backup.
I have had several times where a "clean shutdown" was not possible and this is not trivial.
> Alternative scenario: noarchivelog, and your complete backup includes
> redo logs. Recovery is simply to restore everything. You lose every
> transaction
Simple to recover and simple to perform the backup - don't have to worry about clean shutdowns :)
> entered since the time of the last backup (ie, exactly the same as in
> the previous scenario). You avoid a resetlogs, but as I say that's
> really only an issue when you're in archivelog mode anyway. Costs?
> Depends on the size of your redo logs. But restoring 3 or 4 500Mb files
> when you didn't actually gain anything by doing so, and wouldn't have
> lost anything by not doing so, seems to me to be a waste of time.
>
>
At 22 Meg per second transfer rate on our current hardware, I don't see
where backing up and restoring 2 Gigs is an issue .
> Point is: it's dangerous to back up the logs in archivelog mode.
> Mistakes happen, and they're never needed anyway. It's pointless backing
> them up in
Never needed ? Yes, as long as your cold/offline/noarchivelog backups do a "clean shutdown".
> noarchivelog mode, because you don't need them in order to be able to
> recover as completely as its ever possible to recover in noarchivelog
> mode anyway.
>
> But, as has been pointed out, a dirty shutdown prior to backup would
> mean the current redo log would be needed to achieve a consistent (and
> openable)
Current? You mean the REDO logs at the time of the backup, right?
> database. Therefore, don't do dirty shutdowns.
>
As I have said several times, clean shutdowns are not trivial.
Anyway: you keep on doing what has worked for you, because you know what you´re doing. I´d just like to think we would be a bit careful about what advice we leave out there for newbies by way of general advice: it ought to be safe as houses, and reliable.
Regards
HJR
Received on Wed Aug 13 2003 - 15:40:27 CDT
![]() |
![]() |