My Oracle Support Banner

PL/SQL Packages Has Been Discarded After DBMS_REDEFINITION.REDEF_TABLE In RAC Database (Doc ID 2503917.1)

Last updated on JANUARY 29, 2020

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

The packages has been discarded after the table online redefinition in the another node.

SQL> select PKG_1.FUNC_1('A') from dual;
select PKG_1.FUNC_1('A') from dual
ERROR at line 1:
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped package body "SCOTT.PKG_1"



After executing table online redefinition, an error may occur on another node.


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.