Database Administration (MOSC)

MOSC Banner

EXPLAIN PLAN fails when using DRIVING_SITE hints and dblinks

I have 2 databases (DB1 and DB2) and a dblink from DB1 to DB2. I am using DB1 as local and DB2 as remote. DB1 is Oracle19c while DB2 is Oracle12c.

Here are few case scenarios:

Case1: I can successfully run a query in DB1. This query uses objects in both DB1 and DB2 (using dblink).

Case2: I can successfully run an EXPLAIN PLAN of the above query in DB1, without any hints.

Case3: I can successfully run an EXPLAIN PLAN of the above query in DB1 with PARALLEL hints.

Case4: EXPLAIN PLAN of the above query fails in DB1 when I add DRIVING_SITE hints

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