PGA(Process Global Area ):是一部分进程的私有内存。
PGA主要分为
Fixed PGA (data and control files) ===>工作区,可控制
Variable PGA (UGA and CGA subheaps) ===》不可控制
连接上来占用PGA:
SQL> select sid from v$mystat where rownum=1;
SID
----------
125
找出paddr
SQL> select sid,paddr from v$session where sid=125
2 ;
SID PADDR
---------- ----------------
125 00000000BB4FA8F0
SQL>
SQL> select pid,spid,pname,pga_used_mem,pga_alloc_mem,pga_max_mem from v$process where addr=‘00000000BB4FA8F0‘;
PID SPID PNAME PGA_USED_MEM PGA_ALLOC_MEM PGA_MAX_MEM
---------- ------------------------ ----- ------------ ------------- -----------
19 2055 1701000 3844552 28494488
时间: 2024-10-10 04:25:42