select s.module ,ceil(max(s.rows_processed/s.fetches)) rows_per_fetch from v$sql s where s.rows_processed>100 and s.executions >1 and s.fetches >1 and s.module is not null and s.command_type = 3 -- SELECTs only and s.program_id = 0 -- do not account recursive queries from stored procs and s.parsing_schema_id!=0 -- <> SYS group by s.module order by rows_per_fetch desc nulls last /