Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sqlplus shutdown "time-out"
Hi Steven!
Comments in-lined:
On 4/20/05, jungwolf <spatenau_at_gmail.com> wrote:
> On 4/20/05, Vitalis <vitalisman_at_gmail.com> wrote:
> > Regarding my original script (used with 9i instances on Unix):
> > shutdown immediate
> > startup
> > shutdown immediate
> > startup mount
> ...
> > instance has crashed. I wrote this first shutdown so that it would
> > completely close a "half-crashed" instance. Then hopefully the startup
> > would proceed without any problem.
> > Of course this approach is not suitable for production databases
> > (offline backups should be avoided on production databases in the
> > first place!)
> >
> > Question: Is this "half-crashed" instance scenario plausible (with
> > regard of PMON, SMON...)?
>=20
Thanks for this piece of information.
>=20
Maybe that's a sequence that would work in all situations (crash/no
crash). But like Jay I don't feel comfortable doing this (why use
"abort" and force a recovery everytime while we could use "immediate"
in most cases?)
The best (but longer) solution might be to code a script capable of
testing the instance status and launch the proper command
accordingly...
>=20
>=20
I agree. My sentence should have read: *regular automated scheduled*
offline backups should be avoided on production databases (the
day-to-day backup policy should not be made of cold backups.) The main
reason (apart from the obvious instance unavailability) is that the
backup might fail due to something going awry during the shutdown (for
example, a shutdown time-out =3D)
Of course I don't have anything against exceptional manual offline
backups of production databases.
Regards,
Jerome
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Apr 20 2005 - 12:22:50 CDT
![]() |
![]() |