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?