Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Database using 100% of CPU

RE: Database using 100% of CPU

From: Christopher Spence <cspence_at_FuelSpot.com>
Date: Fri, 17 Aug 2001 09:31:42 -0700
Message-ID: <F001.0036F475.20010817093449@fatcity.com>

Have you looked at the event tables?

Perhaps running a statspack report from now to the next 10 minutes and look at the biggest waiters.

If it is unix, look for the process which is eating up the resources, query v$process to get the process address, then use that to get the session, then use the sql address to find the sql.\

Also query v$session for active sessions which are active for a long time.

"Do not criticize someone until you walked a mile in their shoes, that way when you criticize them, you are a mile a way and have their shoes."

Christopher R. Spence
Oracle DBA
Phone: (978) 322-5744
Fax: (707) 885-2275

Fuelspot
73 Princeton Street
North, Chelmsford 01863  

-----Original Message-----
Sent: Friday, August 17, 2001 12:41 PM
To: Multiple recipients of list ORACLE-L

We are having a problem with our database - it is using 100% of the CPU. This has only started happening recently, and restarting the database temporarily stops it happening - it usually recurrs a few hours later. There are no jobs running, and at the moment there are no active connections. Obviously something has kicked this off, can anyone shed any light on this or suggest how to find out what is running on the db?

Thanks in advance,

Steven H.

(Oracle 8.1.6.0.0 EE on NT 4 SP5)

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Steven Hovington
  INET: steven.hovington_at_procession.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Christopher Spence
  INET: cspence_at_FuelSpot.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Aug 17 2001 - 11:31:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US