Operating System - HP-UX
1843977 Members
1970 Online
110226 Solutions
New Discussion

memory taken by Database in a DB environmnet

 
SOLVED
Go to solution
Amit Manna_6
Regular Advisor

memory taken by Database in a DB environmnet

Hi,

Is there any paramenter which defines how much of the Physical memory will be taken by database in case of Oracle or Sybase is installed in a HP-Ux System

Thanks and Regards,

Amit Manna
4 REPLIES 4
Joseph Loo
Honored Contributor

Re: memory taken by Database in a DB environmnet

hi,

look under SEGSZ column which shows the SGA use by the database:

# ipcs -mbop

for specified oracle processes, look at SZ column:
# ps -lfu |grep -i oracle

regards.
what you do not see does not mean you should not believe
David Child_1
Honored Contributor
Solution

Re: memory taken by Database in a DB environmnet

shmmax can be used to limit how large of a shared memory segment that Oracle/Sybase can use. Oracle DBAs will usually tell you that if the server has 8GB of memory, they want shmmax set to 8GB. I generally set this lower (much lower if it's a multiple Oracle/Sybase system).
Tim Howell
Frequent Advisor

Re: memory taken by Database in a DB environmnet

Oracle has several parameters such as SHARED_POOL_SIZE and JAVA_POOL_SIZE that you add together to come up with the total size for the SGA - perhaps this is what you are looking for?
if only we knew...
Abdul Rahiman
Esteemed Contributor

Re: memory taken by Database in a DB environmnet

I guess you should take a look at the Oracle paramater file for various memory paramters mentioned in the previous response.(pfile is typically named as initXXXX.ora and can be found under $ORACLE_BASE/admin/????(instance)/pfile direcotry).
No unix, no fun