Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Calculating Physical memory for Oracle Sessions
Hi Tim
What is "Maximum" trying to Convey?
2) Does "Sum Priv Kb" stand for Total Private Memory of Only the Oracle Foreground Processes?
Output of your Script:-
Total RAM = 32768Mb, Swap = 2854.48Mb used, 89370.20Mb free
Total memory consumption by Oracle instance "FTFXEMC":
# Procs # Procs Max Sum
Foregrnd Backgrnd Shm Kb Priv Kb Total Kb
7 6 623808 49280673088
Thanks
From: VIVEK_SHARMA
Sent: Thursday, November 30, 2006 11:58 AM
To: 'tim_at_evdbt.com'; ORACLE-L
Subject: RE: Calculating Physical memory for Oracle Sessions
Hi Tim
Could you possibly Share the HPUX Custom Built script please?
Thanks indeed
Vivek
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Tim Gorman
Sent: Thursday, November 30, 2006 9:51 AM
To: ORACLE-L
Cc: anuragdba_at_gmail.com
Subject: Re: Calculating Physical memory for Oracle Sessions
Anurag,
I have this shell script named "oramem.sh" posted online at http://www.EvDBT.com/tools.htm. It was originally written for Solaris using the excellent "pmap" utility. It can work with Linux if the SYSSTAT rpms are installed, which include "pmap". I have an alternate version for HPUX that uses some custom-built "C" programs. I don't have a version for AIX at all, as I haven't found anything similar to "pmap" on AIX.
Hope this helps...
--
Tim Gorman
consultant - Evergreen Database Technologies, Inc.
website = http://www.evdbt.com email = tim_at_evdbt.com mobile = +1-303-885-4526 fax = +1-303-484-3608
Anurag Verma wrote:
Hi All,
My 9.2.0.7 database has an sga size of 1.3 GB and the RAM size is 4096 MB.
We were facing a problem of memory contention yesterday due to the increased number of sessions/connections to the database.
96% of the Physical memory and 94-95% of virtual memory was used, when checked the processes in the IBM AIX server.
So when the number of sessions increased, listener stopped receiving newer connections.
The ever increasing number of sessions were taking up the memory.
Latch free contention was there and found library cache latch stats were showing large number of sleeps.
If we need to increase shared pool, memory was not available.
One option we are planning is to increase the physical memory.
So my question is how do we determine the size of the memory used for Oracle sessions.
Say for adding another 100 sessions, how much memory will it take, so that it will help us in adding more RAM in to the server.
Thanks for your thoughts on this.
Anurag
![]() |
![]() |