Recently executed SQL not in V$SQL
问题 Under what circumstances does a select query not appear in the V$SQL view? For example, if I run this: select /*findme*/ * from T ... And then immediately afterward run this: select * from v$sql where sql_text like '%/*findme*/%'; Under what circumstances would I get no rows returned? And under those circumstances can I force a query's info to be recorded in V$SQL? 回答1: Under what circumstances does a select query not appear in the V$SQL view? One situation is on a Real Application Cluster