Jon,

    One correction, shutdown immediate waits till all uncommitted transactions
are committed or rolled back.  The client session must do one or the other,
otherwise the shutdown hangs waiting for the end user.  This is a good example
of where setting the idle time in user_profiles is a good thing.  Since after
the specified time idle time period Oracle will rollback the users transaction
and terminate their session whether or not they wanted to.  Works well with end
users who start a transaction and then go home for the weekend without closing
down their database connection.

Dick Goulet

____________________Reply Separator____________________
Author: "Walthour; Jon (GEAE; Compaq)" <[EMAIL PROTECTED]>
Date:       9/10/2001 10:55 AM

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: [EMAIL PROTECTED]

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: [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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Walthour, Jon (GEAE, Compaq)
  INET: [EMAIL PROTECTED]

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: [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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

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