on 09-03-2010 2:38 PM
Hello people
I'm facing an error when the task Update and check Optimizer Statistics is running ate DB13.
BR0280I BRCONNECT time stamp: 2010-09-01 01.06.53
BR0301E SQL error -20000 at location stats_tab_collect-21, SQL statement:
'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSOL"', TABNAME => '"/BIC/B0000029000"', ESTIMATE_PERCENT => 30, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, GRANULARITY => 'ALL', CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'
ORA-20000: index "SAPSOL"."/BIC/B0000029000KE" or partition of such index is in unusable state
ORA-06512: at "SYS.DBMS_STATS", line 14531
ORA-06512: at "SYS.DBMS_STATS", line 14552
ORA-06512: at line 1
Coul you please help me with this issue?
Regards
permanent solution:
do not update DB_STATS at the same time as updating /BI* tables.
until then, simply rebuild this indexes online:
sqlplus / as sysdba
alter index "SAPSOL"."/BIC/B0000029000KE" rebuild online;
exit;
good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Refer to the Note 633914 - Error when executing DBMS_STATS . It has mention about the issue and solution. There are several SAP Notes on REBUILD (like 682926, 1485841 , etc) go through them before you excute REBUILD , just in case you decide to do so.
Regards,
Neel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.