警告日志中显示:SHUTDOWN: waiting for active calls to complete.
我该怎么办,有没有办法手工结束active calls
说明:以前有一个查询一直占用CPU,KILL的话几天状态也为KILLED,到操作系统上才能KILL掉,现在这个查询又出现了,我就shutdown immediate,谁知几个小时过去都不能SHUTDOWN,我该怎么办才能不影响明天的运行?重新启动操作系统肯定不可能.
To shut down a database immediately, use the SHUTDOWN command with the IMMEDIATE clause:
SHUTDOWN IMMEDIATE
Immediate database shutdown proceeds with the following conditions:
No new connections are allowed, nor are new transactions allowed to be started, after the statement is issued.
Any uncommitted transactions are rolled back. (If long uncommitted transactions exist, this method of shutdown might not complete quickly, despite its name.)
Oracle Database does not wait for users currently connected to the database to disconnect. The database implicitly rolls back active transactions and disconnects all connected users.
The next startup of the database will not require any instance recovery procedures.