Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: dbshut script - shutdown or shutdown immediate

RE: dbshut script - shutdown or shutdown immediate

From: Jeremiah Wilton <jwilton_at_speakeasy.net>
Date: Wed, 02 Apr 2003 13:58:56 -0800
Message-ID: <F001.00578BD5.20030402135856@fatcity.com>


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: jwilton_at_speakeasy.net

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: ListGuru_at_fatcity.com (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).
Received on Wed Apr 02 2003 - 15:58:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US