How to tune memory size in oracle 8i (merged) [message #407860] |
Fri, 12 June 2009 01:00 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
NPROC USERNAME SIZE RSS MEMORY TIME CPU
57 oracle8i 4698M 4185M 98% 0:03.20 0.1%
I want to reduce memory size in the above column,
And how to kill the below job process .After killing the pid's also...its coming up again,,
please help me out,,
bash-2.03$ ps -ef|grep ora_snp
oracle8i 7299 1 0 11:08:09 ? 0:00 ora_snp2_
oracle8i 7297 1 0 11:08:09 ? 0:00 ora_snp1_
oracle8i 7283 1 0 11:07:04 ? 0:00 ora_snp0_
oracle8i 7301 1 0 11:08:09 ? 0:00 ora_snp3_
Thanks in Adv.
|
|
|
|
|
Re: How to tune memory size in oracle [message #407867 is a reply to message #407863] |
Fri, 12 June 2009 01:21 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
thank you for response. Firstly.I want to reduce the memory utilization by oracle processes it has reached now to 98%.
Second thing is i had dout on job queue processes for consumning more memory, and wnated to kill them but waz unable to do.
|
|
|
|
Re: How to tune memory size in oracle [message #407870 is a reply to message #407866] |
Fri, 12 June 2009 01:32 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
thank you for the advice.I m done wit DBA crse as i m new to Oracle and also handling production, i m pretty much confident to handle the other DB issues.
I request 2 guide few major issues like tuning and recovery.
|
|
|
|
Re: How to tune memory size in oracle [message #407872 is a reply to message #407871] |
Fri, 12 June 2009 01:48 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
Thanks a lot for the valueable advice and reference links.
My present priority is to reduce the memory size that it has consumed.
when i give the command prstat -a, i get the foll. o/p
NPROC USERNAME SIZE RSS MEMORY TIME CPU
56 oracle8i 4470M 3979M 98% 0:03.50 0.8%
36 root 199M 71M 1.7% 0:02.00 0.0%
1 daemon 2084K 108K 0.0% 0:00.00 0.0%
Here how to reduce the memory contention and how to chk whr is the root cause,,,!!!
|
|
|
How to tune memory size in oracle 8i [message #407873 is a reply to message #407860] |
Fri, 12 June 2009 02:28 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
I wanted to know whts the root causes for the memory consumptions,,in oracle8i
When i give the cmd $prstat -a, i get the foll. o/p
NPROC USERNAME SIZE RSS MEMORY TIME CPU
60 oracle8i 4937M 4398M 98% 0:03.34 0.2%
37 root 201M 72M 1.6% 0:02.00 0.1%
1 daemon 2084K 108K 0.0% 0:00.00 0.0%
In the above u can see the memory is reaching 98% for oracle8i user. how to tune it.!!!
For More Info, foll.is my current status.
************************************************************
bash-2.03$ /usr/bin/prstat -s size -n 5 1 1
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
7158 oracle8i 231M 210M sleep 59 0 0:00.00 0.0% oracle/14
6373 oracle8i 230M 206M sleep 59 0 0:00.00 0.0% oracle/18
6375 oracle8i 230M 205M sleep 59 0 0:00.00 0.0% oracle/14
6377 oracle8i 230M 205M sleep 58 0 0:00.03 0.0% oracle/14
6371 oracle8i 229M 205M sleep 58 0 0:00.00 0.0% oracle/4
Total: 95 processes, 315 lwps, load averages: 0.00, 0.01, 0.02
bash-2.03$ ptree 7158
189 /usr/sbin/inetd -s
7128 in.telnetd
7130 -sh
7135 bash
7157 sqlplus
7158 oraclekesd (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
bash-2.03$ ptree 6373
6373 ora_dbw0_kesd
bash-2.03$ ptree 6375
6375 ora_lgwr_kesd
bash-2.03$ ptree 6377
6377 ora_ckpt_kesd
bash-2.03$ ptree 6371
6371 ora_pmon_kesd
bash-2.03$
*************************************************
I m not sure y the RSS column in the above is taking so much size.
Please help in tracking and resolving it.
Thanks in Adv.
|
|
|
|
|
Re: How to tune memory size in oracle 8i [message #407885 is a reply to message #407876] |
Fri, 12 June 2009 03:53 |
sanjay6713
Messages: 40 Registered: June 2009 Location: INDIA
|
Member |
|
|
Thanks for Info, but thing is we are not using the SGA parameter.
instead we are using only the below parameters,,
****************************
db_block_size = 8192
log_buffer = 163840
shared_pool_size = 60227737
db_block_buffers = 14731
********************************
|
|
|
|