Dead Job Still In DBA_SCHEDULER_RUNNING_JOBS (文档 ID 2019899.1)
来源:互联网 发布:淘宝旺铺智能版好用吗 编辑:程序博客网 时间:2024/06/06 10:47
Information in this document applies to any platform.
GOAL
While querying DBA_SCHEDULER_RUNNING_JOBS and V$SCHEDULER_RUNNING_JOBS, there is a job with no session ID and no process ID running with a large elapsed time.
Actually this job is not really running. The problem is that , it can't be stopped using DBMS_SCHEDULER.STOP_JOB. It throws below error :
begin
dbms_scheduler.STOP_JOB(job_name=>'DGPYS.JB_UZLASTIRMA_CALISTIR', force=>true);
end;
ORA-27466: internal scheduler error: 1870 Check the log/trace file for more Details
SOLUTION
Below steps can be executed as a workaround to stop/drop the job. The steps need to be executed at a time when there are no other scheduler jobs are running/scheduled.
SQL> exec dbms_scheduler.set_scheduler_attribute('SCHEDULER_DISABLED','TRUE');
exec dbms_scheduler.stop_job('DGPYS.JB_UZLASTIRMA_CALISTIR',TRUE);
exec dbms_scheduler.drop_job('DGPYS.JB_UZLASTIRMA_CALISTIR',TRUE);
exec dbms_scheduler.set_scheduler_attribute('SCHEDULER_DISABLED','FALSE');
The first statement will disable dbms_scheduler and will thus stop all executing jobs.After stopping and dropping the job dbms_scheduler needs to be restarted.
- Dead Job Still In DBA_SCHEDULER_RUNNING_JOBS (文档 ID 2019899.1)
- Dead reckoning in Unreal
- Still in 烦躁 feeling
- Job found still running after platform shutdown.
- Dead Connection Detection (DCD) Explained [ID 151972.1]
- Create a new job (in shared HR), Errors: 'ID&ID for the flexfield segment &SEGMENT does not exist in
- 11.2 Job Seperation causes WARNINGS and ORA-15025 ORA-27041 With Certain Users (文档 ID 1317692.1)
- Dead store to local variable in findbugs
- iPhone Factory Worker Girl Still Has Her Job
- Eclipse Error: Job found still running after platform shutdown
- 启动eclipse出错 job found still running after platform shutdown
- Space issue in Flash Recovery Area( FRA ) (文档 ID 829755.1)
- Monitor Oracle Resource Consumption in UNIX (文档 ID 148466.1)
- Ora-29913: Error In Executing Odciexttableopen Callout (文档 ID 353642.1)
- Do you still program in Perl?
- Hbase Region still in transition修复
- connection 'qt_sql_default_connection' is still in use
- Job Scheduling in Java
- Android 预编译模块
- python3使用django1.11不支持MYSQL-python的解决办法
- 利用PANDAS按日期做分组运算
- 端口大全总结
- 7. 在jsp页面中编写java遇到的问题
- Dead Job Still In DBA_SCHEDULER_RUNNING_JOBS (文档 ID 2019899.1)
- Android Studio里面的Build.gradle的详细配置说明
- javascript易错题
- ros使用usb硬件,调用固定设备名修改设备权限的设置方法
- Farmer John的故事
- Java连接数据库
- dell 成就 5470安装win10 ubuntu双系统方法
- python(三)
- 循环计算文本框值之间的差值