On Wed, 2 Apr 2003, Stephen Murphy wrote:

> We replace the simple shutdown command with:
> 
>       shutdown immediate
>       startup restrict
>       alter system switch logfile;
>       host sleep 10
>       shutdown immediate

Why do you do this elaborate dance?  Are you trying to get the last
logfile?  If so, you should know that this combination of commands
will not accomplish that.  Any user with DBA priv can be in the
database doing stuff and making transactions after your switch logfile
and your shutdown immediate.

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

-- 
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