SQL Language (MOSC)

MOSC Banner

Performance difference 12.1 and 18c ALL_CONSTRAINTS

edited Feb 25, 2020 4:07AM in SQL Language (MOSC) 4 commentsAnswered

We have the same user on both databases, the user is not DBA and cannot do explain plan.

SELECT COUNT(*) FROM ALL_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'P';

executes fast on 12.1 but takes around 30sec on 18c (If the user is granted DBA on 18c - it is fast - but not a solution)

Does anybody know of any differences from 12.1 to 18c that can impact this?

It is from a 3rd party component and cannot be changed.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center