SQL Performance (MOSC)

MOSC Banner

Copy sql execution plan from one db to another

edited Oct 27, 2019 5:09AM in SQL Performance (MOSC) 3 commentsAnswered

Hello,

Can we copy an execution plan from one db to another db which are different sql id's?

A query is running for less time in a db and longer in another.

Can we transfer the export execution plan and import into another db where the query is running longer which is having different sql id?

3b17rczwm94d8  - 30mins

fqx7u1qqyqr6w    - 1hr

The query is same but sql id is different. Does copy the execution plan of "3b17rczwm94d8" to another db will make sql id "fqx7u1qqyqr6w" to pick the updated plan?

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