RE: Calculating Physical memory for Oracle Sessions

  • From: "VIVEK_SHARMA" <VIVEK_SHARMA@xxxxxxxxxxx>
  • To: <tim@xxxxxxxxx>, "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 30 Nov 2006 11:58:17 +0530

Hi Tim



Could you possibly Share the HPUX Custom Built script please?



Thanks indeed



Vivek



________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Gorman
Sent: Thursday, November 30, 2006 9:51 AM
To: ORACLE-L
Cc: anuragdba@xxxxxxxxx
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@xxxxxxxxx
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



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Other related posts: