SQL Performance (MOSC)

MOSC Banner

Force sql to use a different plan

edited Dec 20, 2019 4:00AM in SQL Performance (MOSC) 18 commentsAnswered

Hi,

We have 2 similar insert sql statements (only the table name is different, but table structure is totally the same), one ran in QA, one ran in DEV, the total data volume is very close,  the one in DEV ran much faster and  they are using different plans, is there any way I can force the QA one to use the same plan as in DEV.

I'm attaching plans below.  b78xun67uwwsz is the one that ran in DEV and ran much faster.

Thanks,

Janet

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