Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW MUCH SGA FREE?
Bytes free:
select sum(decode(name, 'free memory', bytes, 0))
"Free bytes in SGA"
from v$sgastat
Percent free:
select round((sum(decode(name, 'free memory', bytes, 0)) / sum(bytes)) * 100,2)
"Free SGA"
from v$sgastat
This is for version 7.3.4.4 on HP-Ux. Should work for others.
--Chris
Chris.Bowes_at_Kosa.com
-----Original Message-----
From: Seema Singh [mailto:oracledbam_at_hotmail.com]
Sent: Tuesday, July 03, 2001 8:15 PM
To: Multiple recipients of list ORACLE-L
Subject: HOW MUCH SGA FREE?
Hi
How to check how much SGA is free at particular moment?
Thanks
-Seema
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Seema SinghReceived on Tue Jul 03 2001 - 19:07:07 CDT
INET: oracledbam_at_hotmail.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
![]() |
![]() |