You can directly query AWR tables, which may be the easiest way.
Or the simple method that I used for Oracle 8i without statistics included was to select the SQL with the highest buffer in order to get the execution coefficient from v $ sql. You can play with this query only to search for queries with a high number of queries, or for those who do high physical IO, etc.
The AWR and ASH tables will provide better information, but this may be a simple first step:
select a.sql_id, a.ratio, a.executions from ( select sql_id, buffer_gets / executions ratio, executions from v$sql where executions > 10 order by 2 desc ) a where rownum <= 10
Stephen ODonnell
source share