.
[@more@]select b.PGA_USED_MEM PGA_USED_MEM, b.PGA_ALLOC_MEM PGA_ALLOC_MEM,
b.PGA_FREEABLE_MEM PGA_FREEABLE_MEM,b.PGA_MAX_MEM PGA_MAX_MEM
from v$session a, v$process b
where a.PADDR=b.ADDR and a.sid ='&sid'
select a.sid, b.name, sum(value)/1024/1024
from v$sesstat a, v$statname b
where a.statistic#=b.statistic#
and b.name like '%pga%'
group by sid,name
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1000033/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-1000033/
本文提供两个SQL查询示例,用于获取Oracle数据库会话的程序全局区(PGA)内存使用情况,包括已用、分配和最大内存等详细信息。
1343

被折叠的 条评论
为什么被折叠?



