处理ORA-06512错误
在BDUMP目录下追踪文件中发现如下错误:
*** ACTION NAME:(AUTO_SPACE_ADVISOR_JOB) 2008-06-10 22:00:03.413
*** MODULE NAME:(DBMS_SCHEDULER) 2008-06-10 22:00:03.413
*** SERVICE NAME:(SYS$USERS) 2008-06-10 22:00:03.413
*** SESSION ID:(260.22625) 2008-06-10 22:00:03.413
*** 2008-06-10 22:00:03.413
ORA-12012: error on auto execute of job 8887
ORA-20000: ORA-20000: Content of the tablespace specified is not permanent or tablespace name is invalid
ORA-06512: at "SYS.PRVT_ADVISOR", line 1624
ORA-06512: at "SYS.DBMS_ADVISOR", line 186
ORA-06512: at "SYS.DBMS_SPACE", line 1338
ORA-06512: at "SYS.DBMS_SPACE", line 1554
造成这个错误的原因是,每天数据库进行统计分析时,找不到建立数据库时所建立的某个表空间而报的错误,我们可以查询TS$表、DBA_AUTO_SEGADV_CTL这两表,找到这个表空间,并将这个记录从以上两个表中删除。以后就不会报同样的错误。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27202748/viewspace-737949/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27202748/viewspace-737949/