How to get the past execution plan for a particular query ?
SuvvAug 31 2010 — edited Aug 31 2010Suppose i have a query which used to run faster and after 15 days i found the query execution is very slow.Now i want to compare the present execution and past execution plan.Can someone guide me ..How can i extract (from what views/tables) the old plan execution plan...
As far my knowledge if ia know the sql_id ,We can get it from v$sql (Also AWR maintains history for the sql plan execution.)
What if i don't know the sqlID ?
Any help /hint is appreciated !
Regards
Suvv