Oracle Custom VIEW Performance Issues
I have built multiple views based On Oracle standard WIP and Inventory module related tables such as WIP_MOVE_TRANSACTIONS, MTL_MATERIAL_TRANSACTIONS..ETC.
These views are used by reporting tools to get real-time data based on users' selection criteria.
It is taking a long time (30 min) but is it fetching the data only after running the gather stats.
After that, again if we next day it takes hr's but not even executes(Keep on running).
How we can track the performance of query which is view or query causing the issue.