Professional Documents
Culture Documents
--- The query below gives the max allocated memory by a user session. We’ll use
this to calculate the remaining memory requirements for the unconnected processes.
select max(p.pga_max_mem)/1024/1024 Max--"PGA MAX MEMORY OF USER SESSION (MB)"
from v$process p, v$session s
where P.ADDR = S.paddr and s.username is not null;
--- Get the maximum number of processes that an Oracle instance can handle.
select name, value from v$parameter where name = 'processes';
-- Copy and paste each resulting commands onto a shell script and execute in
primary server to get the mount point size