Operating System - HP-UX
1748151 Members
3409 Online
108758 Solutions
New Discussion юеВ

Oracle utilize lot of CPU resources

 
Ahmad Munawwar
Frequent Advisor

Oracle utilize lot of CPU resources

Hi,

Required help on the CPU utilisation, I can see here oracle use up lot of cpu resources?

last pid: 6627; load averages: 10.82, 6.73, 5.41 17:39:57
145 processes: 132 sleeping, 11 running, 1 zombie, 1 on cpu
CPU states: 0.0% idle, 57.7% user, 32.8% kernel, 9.5% iowait, 0.0% swap
Memory: 2048M real, 30M free, 2356M swap in use, 3226M swap free

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
2738 oracle 1 59 -20 543M 511M run 22.6H 24.92% oracle
11496 oracle 11 60 -20 596M 546M sleep 348:10 14.46% oracle
11472 oracle 11 59 -20 689M 659M sleep 838:12 6.07% oracle
11504 oracle 11 59 -20 690M 659M sleep 824:34 6.05% oracle
8723 oracle 10 59 -20 28M 8408K run 306:37 1.89% oidldapd
1571 root 72 59 0 133M 53M run 17.6H 1.65% java
8725 oracle 10 59 -20 28M 9008K run 141:23 1.28% oidldapd
18731 oracle 1 59 -20 543M 509M sleep 0:27 0.81% oracle
11450 oracle 11 60 -20 691M 603M sleep 819:36 0.78% oracle
11445 oracle 11 59 -20 596M 559M sleep 331:44 0.77% oracle
11526 oracle 11 60 -20 691M 616M sleep 841:47 0.75% oracle
8730 oracle 10 59 -20 28M 8864K sleep 74:51 0.61% oidldapd
11492 oracle 11 60 -20 691M 622M sleep 812:08 0.58% oracle
1457 root 25 59 0 54M 10M run 111:29 0.52% java
11468 oracle 11 60 -20 605M 560M sleep 326:21 0.51% oracle

Regards,
Munawwar
2 REPLIES 2
KapilRaj
Honored Contributor

Re: Oracle utilize lot of CPU resources

I would sit on this and find out the apllication scripts (sqls) running against this process and then ask the database tesm to investigate whether these can be tuned.

It is most of the time a bad sql !

lsof is a good tool to find out which process from the client has triggered this process

Kaps
Nothing is impossible
Fred Ruffet
Honored Contributor

Re: Oracle utilize lot of CPU resources

This may be normal. This might be an oracle user process. Try to see with DBA and users what requests are launched and if they can't be rewritten. proceed in this order :
tune SQL
tune Oracle
tune System

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)