Auto Space Advisor Throwing ORA-01426 After Upgrading to 11.2 (文档 ID 1604533.1) |
![]() |
![]() |

In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.3 and laterInformation in this document applies to any platform. SYMPTOMSAfter upgrading to 11.2.0.3, the autospace advisor started giving the below error.
ORA-12012: error on auto execute of job "SYS"."ORA$AT_SA_SPC_SY_12581"
ORA-01426: numeric overflow ORA-06512: at "SYS.DBMS_ADVISOR", line 201 ORA-06512: at "SYS.DBMS_SPACE", line 2465 ORA-06512: at "SYS.DBMS_SPACE", line 2538
CHANGESRecently upgraded to 11.2.0.3. It used to work in 11.1.0.7 or earlier releases. CAUSEThis is due to the bug 16621589. As per this bug, when the space advisor is running, calculation of uncompressed bytes from uncompressed blocks generated overflow. This is because the uncompresses bytes are stored in PLS_INTEGER storage data type and after internal multiplication and calculation, this datatype was not able to withhold the resultant value and is throwing the overflow error. The fix is to make data types of uncmp_bytes and cmp_bytes to use INTEGER instead of PLS_INTEGER. SOLUTIONTo resolve this issue: - Upgrade the database to version 12.1.0.2 (and above) or 12.2 (future version) where this bug is fixed. OR
- Apply Patch 16621589.
BEGIN
DBMS_AUTO_TASK_ADMIN.DISABLE( client_name => 'auto space advisor', operation => NULL, window_name => NULL); END; / |