SQL Performance (MOSC)

MOSC Banner

Explain Plan Same Query on Different Database results on Different Plan

Oracle Database version 19.19.0.0.0.

I had a same query which is showing different explain plan on a development and production database. The same query has exactly the same tables and indexes on the 2 database yet it is still resulting on different plans. On the development database the query runs faster while on production database it runs as almost it hangs.

Production database:


Development database:


Table column indexes:


Please advise what could i have missed or should look into.

Thank you,

Warren

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