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 memory is an oracle shadow process using

Re: How much memory is an oracle shadow process using

From: Igor Neyman <ineyman_at_perceptron.com>
Date: Mon, 07 Oct 2002 06:08:31 -0800
Message-ID: <F001.004E219C.20021007060831@fatcity.com>


> Does anybody have any other insight as to how what exactly the values in
> statistic# 16 & 21 can be used to indicate overall memory usage by Oracle
> processes

Look them up in V$STATNAME.

Igor Neyman, OCP DBA
ineyman_at_perceptron.com

> Thanks for your script. The whole site is an excellent resource.
> Thanks Tim,
>
> I have run your script and also run a query against statistic 15 and 20
from
> v$sessstat
> (max UGA and PGA memory used )
> SQL>
> SQL> select name,statistic#,sum(value/1024/1024) "Curr Mb"
> 2 from v$sesstat a, v$database c
> 3 where statistic# in (16,21)
> 4 group by name,statistic#
> 5 /
>
> NAME STATISTIC# Curr Mb
> --------- ---------- ----------
> SID 16 2.8621788
> SID 21 23.4703255
>
> Running the oramem.sh script I return the following
>
> Total RAM = 16384Mb, Swap = 19779.85Mb used, 2686.51Mb free
>
> Total memory consumption by Oracle instance "SID":
>
> # Procs # Procs Max Sum
> Foregrnd Backgrnd Shm Kb Priv Kb Total Kb
> ======== ======== ====== ======= ========
> 27 16 424600 106144 530744
>
> So oracle shows 26Mb used where using a pmap command returns about 105Mb.
>
> I think I am comparing like with like here but obviously the results don't
> show that
>
> Does anybody have any other insight as to how what exactly the values in
> statistic# 16 & 21 can be used to indicate overall memory usage by Oracle
> processes
>
> Thanks
>
> John
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: John.Hallas_at_vodafone.co.uk
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Igor Neyman
  INET: ineyman_at_perceptron.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Oct 07 2002 - 09:08:31 CDT

Original text of this message

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