My Oracle Support Banner

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 AUGUST 04, 2018

Applies to:

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


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



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.