how to detect hard parse queries?
770799May 6 2010 — edited May 6 2010Oracle 11gR2 on Aix...
I would like to test queries for soft or hard parse..
how could I do that?
I created a query for that, but I don't think it's appropriate
select substr(sql_text,1,50), PARSING_SCHEMA_NAME, count(*) from v$sql
where parsing_schema_name not in ('XDB', 'SYS', 'DBSNMP', 'FLOWS_030000', 'EXFSYS', 'SPOTLIGHT')
group by substr(sql_text,1,50), PARSING_SCHEMA_NAME having count(*) > 25