OK, after emphatically stating it doesn't matter, I thought of a
situation in which the order of shutting down could make a difference.

In this scenario, you first must be the kind of person who needlessly
insists on shutdown immediate (instead of abort).  Second, you must
have a very heavy rate of incoming connections, such as from a huge
user base or many many webservers.  Finally, you must be CPU bound.

If you try to shutdown immediate, any activity, such as rolling back
transactions and deallocating temp segments, that must complete before
the shutdown completes, will have cycles stolen away by a needlessly
spinning listener(s) that is just rejecting connections, one after
another.

So, in such a case, listener first, then database.

But shutdown immediate is for wimps.  Just shoot DBW0 in the head with
a SIGKILL.  ;-)

--
Jeremiah Wilton
http://www.speakeasy.net/~jwilton

On Mon, 3 Mar 2003, Mercadante, Thomas F wrote:

> that's kind of a different question.
> 
> in this case, as others have stated, the order of shutting things down does
> not matter too much.  
> 
> For practical purposes, I would shut the listener down first and then the
> database - only because the database takes longer to shut down.
> 
> For startup, I would start the listener first - the database being up
> without the listener is pretty useless anyway.
> 
> -----Original Message-----
> It is for the server auto-start/auto-shutdown procedures run by root.
> 
> >From: "Mercadante, Thomas F" <[EMAIL PROTECTED]>
> >
> >it just doesn't matter.  why do you even feel the need to shut the listener
> >down?
> >
> >-----Original Message-----
> >Should the databases be shutdown before the listener or the other way
> >around.
> >
> >A DBA here (actually at Service Provider) believes that the listener has to
> >be shutdown before the databases in 8i according to some documentation 
> >(they
> >
> >can't recall).
> >
> >I am proposing:
> >
> >Set Oracle 817 environment
> >shutdown database
> >stop 817 listener
> >set Oracle 806 environment
> >stop 806 listener
> >
> >They feel it should be the other order:
> >Shutdown Listeners
> >Shutdown databases
> >
> >Any comments and/or issues

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jeremiah Wilton
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to