Press "Enter" to skip to content

oracle 进程使用PGA量的统计

SELECT s.SQL_ADDRESS,s.MACHINE,s.PROGRAM,s.LOGON_TIME,s.PROCESS,server, s.username, s.osuser, sn.NAME, st.VALUE / 1024 / 1024, s.SID, s.serial#, p.spid
FROM v$session s, v$sesstat st, v$statname sn, v$process p
WHERE st.SID = s.SID
AND st.statistic# = sn.statistic#
AND sn.NAME LIKE 'session pga memory'
AND p.addr = s.paddr
AND VALUE > 10 * 1024 * 1024
ORDER BY VALUE DESC

Be First to Comment

发表评论

电子邮件地址不会被公开。 必填项已用*标注