My Oracle Support Banner

DBMS_SHARED_POOL.KEEP Does Not Support the Editioned Objects (Doc ID 2375081.1)

Last updated on JANUARY 07, 2025

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

The package DBMS_SHARED_POOL.KEEP is not supporting the Edition Objects. The objects in the Edition cannot be pinned in the Shared Pool and if the object is not presented in ORA$BASE, we are unable to pin those objects into shared pool and got the below error.

 

SQL> Exec sys.dbms_shared_pool.keep('SCOTT.EMP','P');
BEGIN sys.dbms_shared_pool.keep('SCOTT.EMP','P'); END;

*
ERROR at line 1:
ORA-04042: procedure, function, package, or package body does not exist
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 77
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 84
ORA-06512: at line 1

 

Changes

NA

Cause

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
Symptoms
Changes
Cause
Solution
References


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