当前位置:朝夕网 » 数码科技 » 逻辑备库上创建JOB报ORA-01031错误

逻辑备库上创建JOB报ORA-01031错误

在逻辑备库上创建任何JOB,包含使用SYS用户去创建,都会报这个:ora-01031ora-06152 SYS.DBMS_INTERNAL_LOGSTDBY...经确认,这个是ORACLE故意这样设计

在逻辑备库上创建任何JOB,包含使用SYS用户去创建,都会报这个:ora-01031ora-06152 SYS.DBMS_INTERNAL_LOGSTDBY…

经确认,这个是ORACLE故意这样设计的。创建job的时候job的id是oracle自动编号的,所以如果允许的话,可能会引起主库和LOGICAL STANDBY库上的ID冲突

Oracle PL/SQL supplied packages that modify system metadata typically are notsupported by SQL Apply, and therefore their effects are not visible on the logicalstandby database. Examples of such packages are DBMS_JAVA, DBMS_REGISTRY,DBMS_ALERT, DBMS_SPACE_ADMIN, DBMS_REFRESH, DBMS_REDEFINITION, DBMS_SCHEDULER, and DBMS_AQ.Specific support for DBMS_JOB has been provided. Job execution is suspended on alogical standby database and jobs cannot be scheduled directly on the standbydatabase. However, jobs submitted on the primary database are replicated in thestandby database. In the event of a switchover or failover, jobs scheduled on theoriginal primary database will automatically begin running on the new primarydatabase

以上就是朝夕生活(www.30zx.com)关于“逻辑备库上创建JOB报ORA-01031错误”的详细内容,希望对大家有所帮助!

免责声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如有侵权行为,请第一时间联系我们修改或删除,多谢。朝夕网 » 逻辑备库上创建JOB报ORA-01031错误