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: hanging shutdowns

RE: hanging shutdowns

From: Baumgartel, Paul <paul.baumgartel_at_credit-suisse.com>
Date: Mon, 27 Feb 2006 16:49:10 -0000
Message-ID: <D97D1FAE0521BD44820B920EDAB3BBAC0A189EDA@ENYC11P32005.corpny.csfb.com>


Robyn,  

I'd vote for  

shutdown abort
startup restrict (assuming no user accounts have RESTRICTED SESSION privilege) shutdown immediate  

IMHO there's no particular need to mess with individual processes unless the above approach doesn't work for you.  

Paul Baumgartel
paul.baumgartel_at_credit-suisse.com
212.538.1143

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Robyn Sent: Monday, February 27, 2006 11:37 AM To: Oracle-L_at_Freelists
Subject: hanging shutdowns

Hello all,

I have a small dilemma I need to resolve. We have several large databases that do not shutdown quickly due to active processes (usually AQ stuff but not always) and this has caused problems with cold backups in the past. (I'd prefer to stop the colds entirely, but have not yet won that debate.)

Another dba wrote a script which first kills all unix processes connecting to the database, connects to the database to kill all sessions except the sys connections and then issues a shutdown immediate. We now have another instance on the server so I need to modify the scripts for the new instance but I'm not comfortable with the current approach.

Given that I need to have something that works by next Sunday morning, what is the best way to structure these scripts? Continue to kill everything? Issue a shutdown, find the remaining active transactions and kill only them? Issue a shutdown abort, restart, shutdown cleanly and then run the backups? I've seen discussions on this subject in the past, I'm just wondering if there's any new solutions or concerns on the subject.

Databases are Oracle 9.2.0.6 <http://9.2.0.6> on HP-UX approximately a TB in size. (some slightly bigger, some slightly smaller)

recommendations appreciated ...

Robyn



Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html


--
http://www.freelists.org/webpage/oracle-l
Received on Mon Feb 27 2006 - 10:49:10 CST

Original text of this message

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