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: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Thu, 03 Apr 2003 11:58:41 -0800
Message-ID: <F001.00579BEB.20030403115841@fatcity.com>


Jacques - We have used SHUTDOWN IMMEDIATE for over 5 years now for cold backups, with zero problems. Weekend before last we had 3 production databases that didn't go down for backup (all of our databases scheduled for cold backups). When I checked the following morning they were just hanging. The problem hasn't occurred since. Naturally I'll be checking this weekend :-) We are running RMAN, just haven't gotten authorization to turn off cold backups.

   If you are doing it interactively, you can check the processes in Unix with ps to see if one of the Oracle processes is doing a lot of work. I've seen it take 20 minutes to clean everything up and shut down. When a problem has occurred, that can be a LONG 20 minutes. That is part of the DBA skill set -- how to divert the attention of the people standing around your desk while you wait :-)

Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----
Sent: Thursday, April 03, 2003 1:24 PM
To: Multiple recipients of list ORACLE-L

> -----Original Message-----
> From: Pardee, Roy E [ mailto:roy.e.pardee_at_lmco.com
<mailto:roy.e.pardee_at_lmco.com> ]
>
> I would
> have guessed
> that optimally, you'd try immediate first & then abort if
> immediate takes
> too long.

I've read that some people on the list have done this. I am curious as to how this is implemented.
How long is too long? And how is this coded? I'm trying to think how you would write this with shell scripts for example.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM

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 Thu Apr 03 2003 - 13:58:41 CST

Original text of this message

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