2021-12-21
关于oracle 10g的pga和sga

我司有台oracle,物理内存128G
10G还没有memory_target和memory_max_target
PGA25G,SGA60G
查看pga和sga使用率
select name,total,round(total-free,2) used, round(free,2) free,round((total-free)/total*100,2) pctused from
(select 'SGA' name,(select sum(value/1024/1024) from v$sga) total,
(select sum(bytes/1024/1024) from v$sgastat where name='free memory')free from dual)
union
select name,total,round(used,2)used,round(total-used,2)free,round(used/total*100,2)pctused from (
select 'PGA' name,(select value/1024/1024 total from v$pgastat where name='aggregate PGA target parameter')total,
(select value/1024/1024 used from v$pgastat where name='total PGA allocated')used from dual);
--pga建议
--SGA建议
有没有大神帮我提个建议,SGA要调多少?PGA要调多少?解释一下,我对这些参数还没理解明白。谢谢!
我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
回答交流
Markdown
请输入正文
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
