You are on page 1of 1

select sum (pga_used_mem) / 1024/1024 from v$process;

select max (pga_used_mem) / 1024/1024 M from v$process;

select * from v$sga;

select sum (pins) �execution�, sum (pinhits) �hits�,((Sum (pinhits) / sum (pins)) *
100) �pinhitration�,
sum (reloads) �misses�, ((sum (pins) / (sum (pins)+ Sum (reloads))) * 100)
�relhitratio�
from V$librarycache;

col c1 heading 'Physical|Memory|MB' format 999,999,999


select max(value)/1024/1024 c1 from dba_hist_osstat where stat_name =
'PHYSICAL_MEMORY_BYTES';

col c1 heading 'Minimum|Physical|Free|Memory|MB' format 999,999,999


select min(value)/1024/1024 c1 from dba_hist_osstat where stat_name
='FREE_MEMORY_BYTES';

col c1 heading 'Maximum|Physical|Free|Memory|MB' format 999,999,999


select max(value)/1024/1024 c1 from dba_hist_osstat where stat_name
='FREE_MEMORY_BYTES';

set pages 999;


column pga_size format 999,999,999
select 1048576+a.value+b.value pga_size
from v$parameter a,v$parameter b
where a.name = 'sort_area_size' and b.name = 'hash_area_size';

sELECT (
(SELECT SUM(value) FROM V$SGA) -
(SELECT CURRENT_SIZE FROM V$SGA_DYNAMIC_FREE_MEMORY)
) "SGA_TARGET"
FROM DUAL;

select component,current_size from v$SGA_DYNAMIC_COMPONENTS;

You might also like