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

Home -> Community -> Usenet -> c.d.o.server -> Re: how much CPU is used by session

Re: how much CPU is used by session

From: <sybrandb_at_hccnet.nl>
Date: Thu, 26 Apr 2007 23:46:05 +0200
Message-ID: <e672335c3ud3bc5037fovmr2cpl6leuu08@4ax.com>


On Thu, 26 Apr 2007 20:57:55 +0200, Andrea <no_at_tin.it> wrote:

>Hi,
>on my 8.1.7 Oracle DB i found my CPU highest then normal, reaching often
>50%/60% without any important transaction.
>I would like to know if is possible how much CPU is used by particular
>session, there is some performance view where i can found CPU usage for each
>session?
>Or i have to install statspack mandatory?
>
>thanks for support.
>
>bye
>Andrew

That would be v$sesstat.
Nobody should do without statspack, but statspack doesn't track session data.
You could set up a before logoff on database trigger copying the results from v$sesstat in a ordinary table.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Thu Apr 26 2007 - 16:46:05 CDT

Original text of this message

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