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

Home -> Community -> Usenet -> c.d.o.misc -> Re: CPU process utilization problem

Re: CPU process utilization problem

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: Fri, 25 Oct 2002 12:14:09 +0200
Message-ID: <apb5j8$eor$1@ctb-nnrp2.saix.net>


DominiqS wrote:

> 1. I am trying to investigate a problem where cpu process utilization is
> 95% on one of out servers running Oracle at about 2.00am in the morning .
> How do I troubleshoot Where do I start ?, how do I solve this problem,
> what are the things to look for ?.

Run top to get the PID of the process(es) causing the heavy CPU load.

If these are Oracle processes, use the Unix PID and look for the corresponding process entries in Oracle's V$PROCESS table (where spid = Unix pid).

You can then join with V$SESSION and access all the statistical and event data for these process (see V$SESSION_EVENT, V$SESSTAT, V$SESSION_WAIT etc). This will tell you exactly what the process are doing (down to which physical block from what segment in which datafile and tablespace are read).

> 2.What are the main tuning tips and tricks to know as a DBA, (I know a few
> but not much), what are the main tuning website to have in your favourites
> as a DBA.

Main tuning tip? Reading the Oracle Performance and Tuning Manual wins that one hands down.

--
Billy
Received on Fri Oct 25 2002 - 05:14:09 CDT

Original text of this message

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