Sat Dec 31 08:38:44 2011
Errors in file /oracle/admin/sptdi/bdump/sptdi2_j004_226620.trc:
ORA-20000: Unable to analyze TABLE "CDMA"."CDR_D_DETAIL_DO_TEMP", insufficient privileges or does not exist
报这个错是因为有一个job每个小时执行一次,执行的时候会把cdr_d_detail_do_temp这个表删掉,然后这个时候又刚好去收集这个表的统计信息就报了上面的错,不是因为没有权限的原因。
错误 再现:
SQL> desc test;
名称 是否为空? 类型
----------------------------------------- -------- ----------------------------
ID NUMBER
SQL> exec dbms_stats.gather_table_stats('SONG','TEST');
PL/SQL 过程已成功完成。
SQL> drop table test;
表已删除。
SQL> exec dbms_stats.gather_table_stats('SONG','TEST');
BEGIN dbms_stats.gather_table_stats('SONG','TEST'); END;
*
第 1 行出现错误:
ORA-20000: Unable to analyze TABLE "SONG"."TEST", insufficient privileges or
does not exist
ORA-06512: 在 "SYS.DBMS_STATS", line 20327
ORA-06512: 在 "SYS.DBMS_STATS", line 20360
ORA-06512: 在 line 1
但是这个错误没有在alert文件中出现。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25099483/viewspace-714445/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25099483/viewspace-714445/