Title: 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
[EMAIL PROTECTED]


-----Original Message-----
From: Seema Singh [mailto:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to