Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW MUCH SGA FREE?

RE: HOW MUCH SGA FREE?

From: Bowes, Chris <Chris.Bowes_at_kosa.com>
Date: Tue, 03 Jul 2001 17:07:07 -0700
Message-ID: <F001.00340C94.20010703164551@fatcity.com>

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



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Seema Singh

  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).
Received on Tue Jul 03 2001 - 19:07:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US