How to know when was a query first used
Hi,
Just recently, we are having performance problem because of a query eating up IO. To make the story short, while I am investigating how to tune the query, we found out that it was just recently used. It was 'first' used on the day it caused the problem. I got my info from OEM's SQL detail as well as by looking at AWR snapshots.
However, since our OEM only has one week retention, application developers might contest that the query was long created and used and was just REUSED recently. Is there a way, or query or table to show when the SQL statement was actually FIRST used?