处理ORA-06512错误

处理ORA-06512错误<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

在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这两表,找到这个表空间,并将这个记录从以上两个表中删除。以后就不会报同样的错误。

你可能感兴趣的:(错误,处理,ora-06512)