SQL Performance (MOSC)

MOSC Banner

ORA-01476: divisor is equal to zero doing a dbms_stats

edited May 23, 2013 4:55AM in SQL Performance (MOSC) 15 commentsAnswered ✓

Hi experts.
Database Enterprise Edition, version 9.2.0.8 in Aix 5.3.

Per Bug  Bug 5887722 : ORA-01476 DBMS_STATS ESTIMATE_PERCENT DBMS_STATS.AUTO_SAMPLE,  I did an "alter system set events '38041 trace name context forever,level 16';" , but the error continues:

SQL> SQL> 10:49:41 SQL> 10:49:41 SQL> BEGIN DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'ASAP',cascade=>TRUE,estimate_percent=>DBMS_STATS.AUTO_SAMPLE_SIZE,degree=>4); END;

*
ERROR at line 1:
ORA-01476: divisor is equal to zero
ORA-06512: at "SYS.DBMS_STATS", line 10502
ORA-06512: at "SYS.DBMS_STATS", line 10996
ORA-06512: at "SYS.DBMS_STATS", line 11183
ORA-06512: at "SYS.DBMS_STATS", line 11237
ORA-06512: at "SYS.DBMS_STATS", line 11214

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center