Database Administration (MOSC)

MOSC Banner

Explain plan - Index is causing issue

Hi Experts,

DB 12.2.0.1 April 2021 CPU. We have a simple select query which is taking about 9 seconds in prod and 0.2 seconds in non prod.

When we compare the explain plan seems in prod it uses INDEX but in non prod it goes for full table scan.

select count(*) from ps_combo_data_tbl where process_group = 'XXXXXX' and ACCOUNT = 'YYYYYY'; 


Prod:

Non Prod

Could you kindly suggest?

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