Performance Issue with MV_CURRENCY_CONVERSION_RATES Complete refresh
Hello All,
Greetings!
Over the time we are seeing performance issue with refreshing the Materialized View MV_CURRENCY_CONVERSION_RATES. Whenever we refresh this view in full mode (i.e Completed Mode) it is taking 40 to 46 mins to complete. This is not happening on daily basis.
Having said that, we looked into CURRENCY_RATES table, the main reason for performance issue was 25K odd records in CURRENCY_RATES table getting exploded into 7 million records in view non_emu_curr. Later oracle is taking time to parse these records sitting in temp table space.
There are currency rates defined in the system from 2014, if we retain only 3-6 months old rates the job should run not have any performance issue. The jobs took less than a min in pre-prod with 6 months of data.