对比PL/SQL profiler剖析结果(三)

2014-11-24 16:47:23 · 作者: · 浏览: 5
run p1 where (p1.unit_type in ( 'PACKAGE BODY', 'TYPE BODY', 'PROCEDURE', 'FUNCTION' ) ) group by p1.unit_owner, p1.unit_name; prompt = prompt = prompt ==================== prompt Number of lines actually executed for all units select count(p1.line#) as lines_executed from plsql_profiler_lines_cross_run p1 where (p1.unit_type in ( 'PACKAGE BODY', 'TYPE BODY', 'PROCEDURE', 'FUNCTION' ) ) AND p1.total_occur >
0; prompt = prompt = prompt ==================== prompt total number of lines in all units select count(p1.line#) as lines_present from plsql_profiler_lines_cross_run p1 where (p1.unit_type in ( 'PACKAGE BODY', 'TYPE BODY', 'PROCEDURE', 'FUNCTION' ) ); spool off set termout on edit profsum.out set linesize 131