Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Analyzing schema abnormality
Hi All,
I start sqlplus from a cron at night to compute statistics everyday at a set
time
for most of our databases.
For a while this was no problem but since yesterday it stops on a certain
database after doing about 2/3 of the schema.
Below is the error message.
Than I run the command from sqlplus on the same machine as where the cron job is when I come in in the morning and it finishes w/o problems
Oracle 8.0.5
AIX 4.3.2
Does anybody know what could be causing this problem???
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connected to:
Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production
With the Partitioning option
PL/SQL Release 8.0.5.0.0 - Production
Connected.
begin dbms_utility.analyze_schema('cabs','compute'); end;
*
ERROR at line 1:
ORA-20000: You have insufficient privileges for an object in this schema. ORA-06512: at "SYS.DBMS_UTILITY", line 257 ORA-06512: at line 1 *****************************************************************************
Jack.