Friday, July 15, 2016
MEMORY USED BY SQL STATEMENT
select machine,to_char(SQL_EXEC_START,'DD-MON-YY HH24:MI:SS') runtime,
pga_allocated
from dba_hist_active_sess_history
where sql_id = '&sql_id';
EXAMPLE OUTPUT:
MACHINE RUNTIME PGA_ALLOCATED
------------------------- -------------------- ----------------
MYPCNAME 13-JUL-16 16:18:40 807,153,664
MYPCNAME 13-JUL-16 16:18:40 329,003,008
MYPCNAME 13-JUL-16 16:18:40 274,280,448
MYPCNAME 13-JUL-16 16:18:40 215,887,872
MYPCNAME 13-JUL-16 16:18:40 204,615,680
Subscribe to:
Posts (Atom)