Queries Against SYS.ALL_SYNONYMS Inside A PDB Are Very Slow

(Doc ID 2297471.1)

Last updated on AUGUST 21, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Information in this document applies to any platform.

Symptoms

SQL Query Performance on ALL_SYNONYMS in PDB

select count(*) from sys.all_synonyms;

Executing the above Script from PDB takes long time to complete, whereas In Normal DB (Non-PDB/CDB)  the query execution is Faster.

 

Changes

No Specific Changes done to the DB Environment

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