Quantcast
Channel: SCN : All Content - SAP on Oracle
Viewing all articles
Browse latest Browse all 2104

DB stats fail - ORA-20000: this index object is being online built or rebuilt

$
0
0

Hi ,

 

We executed rebuild index for a big table, Index size was 32 GB.

 

Rebuild index was running almost 10 hrs but did not complete and was showing row lock in in ST04 So we canceled rebuild index job in SM37.

 

Now every time we are running update stats on that table, It is failing with below error -

 

BR0301E SQL error -20000 at location stats_tab_collect-69, SQL statement:

'EXECUTE stmt_1d'

'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPR3"', TABNAME => '"DBTABLOG"', ESTIMATE_PERCENT => 0.001, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'

ORA-20000: this index object "SAPR3"."DBTABLOG~0"  is being online built or rebuilt

ORA-06512: at "SYS.DBMS_STATS", line 24301

ORA-06512: at "SYS.DBMS_STATS", line 24352

ORA-06512: at line 1

BR0886E Collecting statistics failed for table SAPR3.DBTABLOG

BR0280I BRCONNECT time stamp: 2015-03-21 13.06.18

BR0879I Statistics checked for 0 tables

BR0878I Number of tables selected to collect statistics after check: 0

BR0880I Statistics collected for 0/0 tables/indexes

BR1308E Collection of statistics failed for 1/0 tables/indexes

BR0806I End of BRCONNECT processing: ceqcqkvr.sta 2015-03-21 13.06.18

BR0280I BRCONNECT time stamp: 2015-03-21 13.06.18

BR0804I BRCONNECT terminated with errors

 

We checked there is no process or job running for index rebuild but it is still showing index is under rebuild.

 

Please suggest what could be reason of this and how can we solve it.

 

Regards,

Shivam


Viewing all articles
Browse latest Browse all 2104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>