当前位置: 移动技术网 > IT编程>数据库>Oracle > ORA-27468: ""."" is locked by another process

ORA-27468: ""."" is locked by another process

2019年11月11日  | 移动技术网IT编程  | 我要评论

无损,禁室培育爱的俘虏,中国书法展赛网

you have a scheduler job that generated an error. when the error occurred, you attempted to disable the job to investigate the error, but received an ora-27468 error message.

27468, 00000, "\"%s.%s\" is locked by another process"
// *cause: an attempt was made to read or modify the state of the named
//         scheduler object when another process was also updating the same
//         object and held the lock.
// *action: retry the operation. scheduler locks are held for a very
//          short duration. if the error persists, contact oracle support.

since the documentation for this message said to try again later, you waited, but have continued to receive the same error message.

 

 

to implement the solution, please execute the following steps:

1.  check the value for the job_queue_processes:

sql> show parameter job

name                                 type        value
------------------------------------ ----------- ------------------------------
job_queue_processes                  integer     1000
sql>



2. stop the cjq0 process.

sql> show parameter job

name                                 type        value
------------------------------------ ----------- ------------------------------
job_queue_processes                  integer     1000
sql> alter system set job_queue_processes=0;

system altered.

sql> show parameter job

name                                 type        value
------------------------------------ ----------- ------------------------------
job_queue_processes                  integer     0
sql>

    this may require a kill -9 if on unix or linux.

3. drop the problematic job.

4. restart the cjq0 process.

    reset the job_queue_processes back to the original setting (from show parameter command) using

         sql> alter system set job_queue_processes=<old value>;

摘自:文档 id 330725.1

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网