查看pga使用

select s.username username,s.serial# serial,se.sid,n.name,
       max(se.value) maxmem
from v$sesstat se,
     v$statname n,
     v$session s
where n.statistic# = se.statistic#
and s.sid=se.sid
and s.username is not null
group by n.name,se.sid,s.username,s.serial#
order by 2

posted on 2011-11-16 22:59  czjie  阅读(568)  评论(0编辑  收藏  举报

导航