1. 程式人生 > >shutdown normal 掛起 在ora_j00X進程上

shutdown normal 掛起 在ora_j00X進程上

AC col run 執行 語句 viso down user server

shutdown normal 掛起 在ora_j00X進程上

參考原文:Shutdown Normal Hung On ORA_J00# Process (Doc ID 1197314.1)

適用於:
Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later [Release: 10.2 and later ]
Information in this document applies to any platform.


癥狀:

在alert log中顯示 shutdown normal 掛起 在ora_j00X進程上:

Active process 1432 user ‘oraj0‘ program ‘oracle@mydb129 (J000)‘
Active process 1432 user ‘oraj0‘ program ‘oracle@mydb129 (J000)‘
SHUTDOWN: waiting for logins to complete.


原因:

shutdown normal 正在等待job完成。使用下面的語句來檢查哪個job正在運行:

SQL> select owner, job_name, session_id, slave_os_process_id, running_instance from dba_scheduler_running_jobs;

shutdown normal 掛起 ,原因是它正在等待 the AUTO_SPACE_ADVISOR_JOB job 完成。

解決方案:
首先停止正在執行的job,然後shutdown normal
BEGIN
DBMS_SCHEDULER.stop_job (job_name => ‘AUTO_SPACE_ADVISOR_JOB‘, force => TRUE);
END;
/

shutdown normal 掛起 在ora_j00X進程上