查询脚本如下,直接执行即可:
select 'SGA' as name
,round(sum(value) / 1024 / 1024, 2) || 'M' as "SIZE(M)"
from v$sga
union
select 'PGA' as name, round(value / 1024 / 1024, 2) || 'M' as "SIZE(M)"
from v$pgastat
where name = 'total PGA allocated'
查询脚本如下,直接执行即可:
select 'SGA' as name
,round(sum(value) / 1024 / 1024, 2) || 'M' as "SIZE(M)"
from v$sga
union
select 'PGA' as name, round(value / 1024 / 1024, 2) || 'M' as "SIZE(M)"
from v$pgastat
where name = 'total PGA allocated'
本文标题:oracle库查看当前库占用多少内存空间
本文链接:https://www.haomeiwen.com/subject/btviiltx.html
网友评论