problem with dbms_stats 9204 on hp-ux 11i 2004-07-19 - By Chris Stephens
I 'm analyzing a schema...
exec
dbms_stats.gather_schema_stats(ownname= > 'XXX ',estimate_percent= >20,casca
de= >true);
and receiving the following error...
*
ERROR at line 1:
ORA-00904 (See ORA-00904.ora-code.com): "TIMESTAMP ": invalid identifier
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 9375
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 9857
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 10041
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 10095
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 10072
ORA-06512 (See ORA-06512.ora-code.com): at line 1
/*what a horrible name for a column....unfortunately, it 's a canned
app*/
...I 've tried analyzing several of the individual tables with a column
name of 'timestamp ' without problems.
There is one table that errors on statistics collection....
BEGIN
dbms_stats.gather_table_stats(ownname= > 'XXX ',tabname= > 'TTTTTTTTTTTT ',est
imate_percent= >20);
*
ERROR at line 1:
ORA-20000 (See ORA-20000.ora-code.com): Unable to set values for column SYS_NC00015$: does not exist
or
insufficient privileges
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 9375
ORA-06512 (See ORA-06512.ora-code.com): at "SYS.DBMS_STATS ", line 9389
ORA-06512 (See ORA-06512.ora-code.com): at line 1
On the latter error I 've tried as sysdba and as the owner of the table.
I don 't know where to go from there. On the former error, how do I trap
the actual table/index that is throwing the error?
Any suggestions?
....great start to the week!
Thanks,
Chris
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
|
|