Thank you SantaMufasa. Your information was valuable. However, it doesn't seem like it is showing all the sql statements. I ran a script that contained several statements and only one of them appeared after running this query. The weird thing is, it wasn't the first or the last statement in the script...rather, it was somewhere in the middle.
SQL Statements that are in the SQL cache from days ago are ones that are "popular" and have been re-run by subsequent requests. I'm sorry that I have no additional rationale for your recently run SQL not appearing in the cache. If you wish to "see" your SQL in the cache, I suggest you have one window ready to execute the query against V$SQLAREA and another window running the script. Then, the moment you run the script, cause the other window to run the query.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.