Upgrade From 10G To 11G Fails On Dbms_sqltune : ORA-04063: Package Body "SYS.DBMS_SQLTUNE" Has Errors (Doc ID 1271490.1)

Last updated on SEPTEMBER 04, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 22-Dec-2013***


Symptoms

While upgrading from 10gR2 (10.2) to 11gR2 (11.2), the upgrade stops with the following error:

ERROR at line 1:
ORA-04063: package body "SYS.DBMS_SQLTUNE" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SQLTUNE"
ORA-06512: at "SYS.DBMS_STATS", line 23154
ORA-06512: at "SYS.DBMS_STATS", line 23205
ORA-06512: at line 4

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms