重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1166|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-12012: Error On Auto Execute Of Job SYS.ORA$AT_SQ_SQL_SW_408

[复制链接]
跳转到指定楼层
楼主
发表于 2022-9-15 17:49:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在检查数据库日志时,发现alert日志中出现了如下报错:
ORA-12012: error on auto execute of job "SYS"."ORA$AT_SQ_SQL_SW_19038"
ORA-13629: The task or object SYS_AUTO_SQL_TUNING_TASK is being used by another operation.
ORA-06512: at "SYS.PRVT_ADVISOR", line 2735
ORA-06512: at "SYS.DBMS_ADVISOR", line 241
ORA-06512: at "SYS.DBMS_SQLTUNE", line 821
ORA-06512: at line 4



在mos有篇文章对该错误进行了解释(文档 ID 1472096.1)


CAUSE
This is expected behavior due to cancellation of one of the Auto Tuning jobs.  A second job is spawned for the same task and ORA-13629 exception can be encountered by the database.

There may be 2 jobs running for the same Auto Tuning tasks "SYS"."ORA$AT_SQ_SQL_SW_408".
The auto sql tuning task may be interrupted or canceled for some underlying reason, and hence the exception of ORA-13629 was raised. The underlying reason of interruption is not known, but most likely it is outside the database.

SOLUTION
The error can be safely ignored and is harmless. This is considered normal behavior due to cancellation of one of the Auto Tuning jobs.
Check the property of the advisor to see whether it has been execute multiple times.
If it is the case, create a new execution or resume the last task execution, but only if the task is not  currently being executed.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-25 21:10 , Processed in 0.093484 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表