Ora-955 Error Running Utl_Recomp.Recomp_Serial (文档 ID 1274504.1)
2014-07-17 10:07
811 查看
Oracle Server - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2] Information in this document applies to any platform.
SQL> exec sys.utl_recomp.recomp_serial('SCOTT');
BEGIN SYS.UTL_RECOMP.RECOMP_SERIAL('SCOTT'); END; * ERROR at line 1: ORA-00955: name is already used by an existing object ORA-06512: at "SYS.UTL_RECOMP", line 662 ORA-06512: at "SYS.UTL_RECOMP", line 715 ORA-06512: at line 1
alter session set events '955 trace name errorstack level 3'; exec sys.utl_recomp.recomp_serial('SCOTT');
Looking in the trace file will show the problem index.
*** 2010-12-16 12:42:24.026 ksedmp: internal or fatal error ORA-00955: name is already used by an existing object Current SQL statement for this session: CREATE INDEX utl_recomp_comp_idx1 ON utl_recomp_compiled(obj#) NOPARALLEL
sqlplus / as sysdba drop index utl_recomp_comp_idx1; exec sys.utl_recomp.recomp_serial('SCOTT');
Bug:9881143 is fixed in 11g, and there is a one-off patch available for 10.2.0.5 through Patch:12560454.
Symptoms
The utl_recomp package errors out trying to compile a schema.SQL> exec sys.utl_recomp.recomp_serial('SCOTT');
BEGIN SYS.UTL_RECOMP.RECOMP_SERIAL('SCOTT'); END; * ERROR at line 1: ORA-00955: name is already used by an existing object ORA-06512: at "SYS.UTL_RECOMP", line 662 ORA-06512: at "SYS.UTL_RECOMP", line 715 ORA-06512: at line 1
Cause
Bug:9881143 where an index is left from a previous failed execution of utl_recomp. The following commands can be used to generate a trace file to verify.alter session set events '955 trace name errorstack level 3'; exec sys.utl_recomp.recomp_serial('SCOTT');
Looking in the trace file will show the problem index.
*** 2010-12-16 12:42:24.026 ksedmp: internal or fatal error ORA-00955: name is already used by an existing object Current SQL statement for this session: CREATE INDEX utl_recomp_comp_idx1 ON utl_recomp_compiled(obj#) NOPARALLEL
Solution
Drop the index utl_recomp_comp_idx1 left by utl_recomp and then rerun the package.sqlplus / as sysdba drop index utl_recomp_comp_idx1; exec sys.utl_recomp.recomp_serial('SCOTT');
Bug:9881143 is fixed in 11g, and there is a one-off patch available for 10.2.0.5 through Patch:12560454.
References
BUG:9881143 - UTL_RECOMP.RECOMP_SERIAL RESULTS IN ORA-00955 NOTE:12560454.8 - Bug 12560454 - ORA-955 from UTL_RECOMP相关文章推荐
- ORA-03137: TTC Protocol Internal Error : [12333] Using JDBC Driver (文档 ID 752297.1)
- ‘ORA-00022: invalid session ID; access denied’ error message when running AE
- ORA-03137: TTC Protocol Internal Error : [12333] Using JDBC Driver (文档 ID 752297.1)
- Diagnosing and Resolving Error ORA-04031 on the Shared Pool or Other Memory Pools (文档 ID 146599.1)
- ORA-06576 error during Drop User (文档 ID 1498610.1)
- DataPump Import (IMPDP) Fails With Error ORA-39083 Object Type INDEX_STATISTICS (文档 ID 1454880.1)
- Bug 9881143 : UTL_RECOMP.RECOMP_SERIAL RESULTS IN ORA-00955
- Ora-29913: Error In Executing Odciexttableopen Callout (文档 ID 353642.1)
- ORA-1114 Error Reported on an Unknown File Id
- Alter database open fails with ORA-00600 kcratr_nab_less_than_odr (文档 ID 1296264.1)
- ORA-00904: "WMSYS"."WM_CONCAT": invalid identifier (文档 ID 2215183.1)
- Troubleshooting Guide ORA-3136: WARNING Inbound Connection Timed Out (文档 ID 465043.1)
- Understanding and Diagnosing ORA-00600 [12333] / ORA-3137 [12333] Errors (文档 ID 389713.1)
- Article ID: 38711 KNOWN ISSUE: Error when running Monitor Packs for Servers Reports
- Archiver Failing With Ora-12571: Tns:Packet Writer Failure (文档 ID 1143523.1)
- Failover Connections for Data Guard Error with ORA-1033 [ID 461874.1]
- Understanding and Diagnosing ORA-00600 [12333] / ORA-3137 [12333] Errors (文档 ID 389713.1)
- Customer Introduction to ORA-7445 Errors (文档 ID 211909.1)
- Troubleshooting ORA-3137 [12333] Errors Encountered When Using Oracle JDBC Driver (文档 ID 1361107.1)
- ORA-01578和ORA-26040--NOLOGGING操作引起的坏块-错误解释和解决方案(文档ID 1623284.1)