Home » RDBMS Server » Performance Tuning » oracleorcl (LOCAL=NO) cpu 100% (Oracle10.1.0.2.0, Rhel4)
oracleorcl (LOCAL=NO) cpu 100% [message #458703] Tue, 01 June 2010 06:31 Go to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

now a days i am seeing in my database cpu utilization gets 100% when i tried to get prcess info from " ps -ef | grep oracle " it shows multiple process created like this
oracle 10133 1 0 16:52 ? 00:00:00 oracleorcl (LOCAL=NO)

how can we resolve this issue or this is the normal condition please suggest.
with regds
rajnish
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458705 is a reply to message #458703] Tue, 01 June 2010 07:02 Go to previous messageGo to next message
Michel Cadot
Messages: 68650
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
how can we resolve this issue or this is the normal condition please suggest.

Upgrade to 10.2.0.4 or 10.2.0.5.

Regards
Michel
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458730 is a reply to message #458703] Tue, 01 June 2010 10:51 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
from one session I did as follows

bcm@bcm-laptop:~$ sqlplus dbadmin/admindb@v112

SQL*Plus: Release 11.2.0.1.0 Production on Tue Jun 1 08:47:51 2010

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> exec sys.dbms_lock.sleep(600);



from another session I did as follows

SQL> !ps -ef | grep sqlplus
oracle   22793 22628  0 08:40 pts/1    00:00:00 sqlplus
bcm      22886 22863  0 08:41 pts/2    00:00:00 sqlplus
bcm      23184  2032  0 08:47 pts/0    00:00:00 sqlplus                     
oracle   23212 22793  0 08:48 pts/1    00:00:00 /bin/bash -c ps -ef | grep sqlplus
oracle   23214 23212  0 08:48 pts/1    00:00:00 grep sqlplus

SQL> select sql_text from v$sql where sql_id in (select sql_id from v$session where process = '23184');

SQL_TEXT
--------------------------------------------------------------------------------
BEGIN sys.dbms_lock.sleep(600); END;


Re: oracleorcl (LOCAL=NO) cpu 100% [message #458752 is a reply to message #458730] Tue, 01 June 2010 13:53 Go to previous messageGo to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

Hi swan,

I follow same as you describe the things, when i finding from sqlid
i got the query which is used by user. they consumed the cpu till they generated them reports. when i running this command in linux "netstat -a | grep 1521" then if find, as many as forms or sql open as much as "oracleorcl (LOCAL=NO)" session has generated. would like to know this the normal behavior or something else.

with regds
rajnish
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458754 is a reply to message #458752] Tue, 01 June 2010 13:58 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>would like to know this the normal behavior or something else.
Normal behavior when utilizing DEDICATED connections (not SHARED SERVER).
One network connection for each Oracle SESSION exists.

You can also obtain SESSION ID (SID) that can be used to enable SQL_TRACE if you decide that is necessary.

[Updated on: Tue, 01 June 2010 13:59]

Report message to a moderator

Re: oracleorcl (LOCAL=NO) cpu 100% [message #458758 is a reply to message #458754] Tue, 01 June 2010 14:14 Go to previous messageGo to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

thank you for guiding, atually my database is in dedicated mode. what should i do to get rid of this.
regds
rajnish
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458760 is a reply to message #458758] Tue, 01 June 2010 14:19 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>what should i do to get rid of this.
I am unclear what exactly "this" refers to.
If the SQL results is not needed, then do not submit SQL to DB.
If the SQL results are required, but taking "too" long to complete or consuming too much resource, then tune the SQL.
It appears to me you are attacking the symptom and not the cause of the CPU load.
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458765 is a reply to message #458760] Tue, 01 June 2010 14:43 Go to previous messageGo to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

sorry for un-cleared question like "this", i will mind it further, actually "this means "oracleorcl (LOCAL=NO)" actally one of our friends suggest me upgrade it to 10.2.0.5.0. Is upgrading solve my prolem ?.
thank you and regds
rajnish
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458771 is a reply to message #458765] Tue, 01 June 2010 14:57 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
> Is upgrading solve my prolem ?.
No.
(LOCAL=NO) exists for each remote client.
As long as remote client connect to DB, they will be reported by ps -ef
Re: oracleorcl (LOCAL=NO) cpu 100% [message #458805 is a reply to message #458765] Tue, 01 June 2010 23:19 Go to previous message
Michel Cadot
Messages: 68650
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Upgrading will help to solve the problem you mentioned in title: "cpu 100%".

Regards
Michel
Previous Topic: help to tune this query ot help to re write in onther way
Next Topic: awr report for specific date
Goto Forum:
  


Current Time: Sun May 12 16:17:33 CDT 2024