Re: force clean database shutdown
- From: Brian Peasland <oracle_dba@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 16:30:15 GMT
maxim2k wrote:
Hi,
I'm running Oracle Database 10g R2 on Red Hat Enterprise Linux 4.
I've configured the server to use the dbstart/dbshut scripts, provided by Oracle, to automatically startup/shutdown the database at when starting/shutting down the server.
I've noticed that the dbshut script will sometime take forever to bring down the db when shutting down the server, it will just hang there ...
It looks like the database is waiting for its clients to close their connections, before going down, or something like that.
How can I force a clean shutdown for the database when the server needs to be rebooted (e.g. for a kernel update)?
I have no control over the db clients, I have full control on the server.
Thanks.
Does your dbshut script perform a simple SHUTDOWN or SHUTDOWN NORMAL? If so, then this will wait for all active connections to disconnect. If you do not want to wait this long, you can change your dbshut to use SHUTDOWN IMMEDIATE. The SHUTDOWN IMMEDIATE command will terminate all active session, roll back any work that was in progress, and leave the database in a consistent state at shutdown. Depending on the current transactions, rolling back their work can still take some time to complete. But this is better (IMO) than SHUTDOWN NORMAL.
HTH,
Brian
--
===================================================================
Brian Peasland
oracle_dba@xxxxxxxxxxxxxxxxxxx
http://www.peasland.net
Remove the "nospam." from the email address to email me.
"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
.
- Prev by Date: Re: QUESTION - rman 8i - how to capture last backed up sequence number...?
- Next by Date: Re: ORA-01109 database not open.
- Previous by thread: Re: weird startup issue
- Next by thread: Re: force clean database shutdown
- Index(es):
Relevant Pages
|
Loading