Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: shutdown immeditae waiting, grep ora, got process
yls177 wrote:
> "Howard J. Rogers" <hjr_at_dizwell.com> wrote in message > news:<3f90f533$0$24515$afc38c87_at_news.optusnet.com.au>...
> > > hi, thanks for your sharing... from what i could understand from your > post, basically 2 areas > > 1) if there is ever a need to do a shutdown abort. we need to follow > up by a startup and then shutdown immediate. this is because we want > to avoid lost transactions?
I've always been an advocate of shutdown aborts not being very dangerous, actually. There is a *miniscule* risk of losing transactions... but miniscule is not 'none'. The risk arises from the possibility of losing your current redo log group immediately after the shutdown abort. How likely is it that you would actually lose an entire redo log group that has been properly mirrored onto two or three separate hard disks/RAID arrays?
I would say 'not very likely at all'. But the risk is still there, despite that optimisim.
Therefore, yes... a lot of people do shutdown abort-startup restrict-shutdown normal.
> > 2) when we stop this intelligent agent by "Before 9i, it was lsnrctl > dbsnmp_stop. In 9i,it's agentctl stop." this will bring shutdown > immediate a lot faster? > > please kindly confirm.
Shutdown immediate is supposed to boot users off the system and rollback whatever they were in the middle of doing at the time. Until all users have been killed off by the shutdown immediate command, the shutdown process can't actually begin, and you just sit there waiting for it.
The agent is another connection that is *supposed* to be booted off... but it quite frequently seems not to. And that means you just sit there waiting for *it*, too. By terminating the agent yourself, you eliminate one source of potential delay. Shutdown immediate should indeed therefore be rather faster than before.
As an indication: when I was trying to work out an automated shutdown sequence for 9iR2 on Red Hat 9, I had the database shutdown, then the agent, listener and Management Server process. A bad move on my part:: the reboot of my Linux box took an interminable amount of time. Reverse the order of events, so that the agent, listener and management server were ended first, and the shutdown immediate was pretty well immediate.
Your mileage might, however, vary.
> thanks
No problems,
HJR
-- -------------------------------------------- See my brand new website, soon to be full of new articles: www.dizwell.com. Nothing much there yet, but give it time!! --------------------------------------------Received on Sun Oct 19 2003 - 06:48:58 CDT