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: shutdown immediate hangs

RE: shutdown immediate hangs

From: Walthour, Jon (GEAE, Compaq) <Jon.walthour_at_ae.ge.com>
Date: Mon, 10 Sep 2001 11:03:36 -0700
Message-ID: <F001.003886DE.20010910105520@fatcity.com>

Dave:

The message in the alert log means that there are uncommitted transactions. During a shutdown immediate uncommitted transactions are rolled back and Oracle must wait until this rollback is complete before the db can be actually shut down.

You could do a shutdown abort, but then you would have to have this rollback done during startup, which may be preferable, but Oracle does not recommend shutdown aborts unless absolutely necessary and one shouldn't rely on a cold backup taken on an aborted db. Either way, though, the rollback must occur.

One thing you could do is check v$transaction before you shutdown. The used_ublk column may give you some idea of how much rollback has to be done.

Jon Walthour

-----Original Message-----
Sent: Monday, September 10, 2001 12:10 PM To: Multiple recipients of list ORACLE-L

I have Oracle 8.1.7 running on windoze NT 4.0. Every night I have a script that kicks off a cold backup. Part of the script issues the command

SHUTDOWN IMMEDIATE which normally works just fine before I actually copy my files. However, periodically the "shutdown immediate" command does not work. It just hangs until someone complains that they cannot connect to the database or when I come in early in the morning and notice it hanging. In my <SID>Alrt.log I get the following

SHUTDOWN: waiting for active calls to complete

This also shows up in a trace file file multiple times. I have to issue a "shutdown abort" to stop the database.

In doing some research on metalink I see that otheres also have this problem. The responses from Oracle are somewhat vague. I do see that one of the responses seems to indicate that if the intelligent agent is running that it could be the cause for the hanging. Has anyone else had this problem and solved it by shutting down the intelligent agent service?? Any other things that I can do to remedy this.

Thanks,

Dave
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Farnsworth, Dave
  INET: DFarnsworth_at_Ashleyfurniture.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Walthour, Jon (GEAE, Compaq)
  INET: Jon.walthour_at_ae.ge.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Sep 10 2001 - 13:03:36 CDT

Original text of this message

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