Do you have the timed_statistics parameter on ?.
Answering your question: most of all, it helps to
measure parsing and recursive calls.
Regards.
- Jonas A Wetterberg
<jonas.a.wetterberg_at_manpower.se> wrote:
> Hello
>
> I'm trying to figure out which sessions use most CPU
> time. Oracle manual
> gave me this sql query:
>
> SELECT v.SID, SUBSTR(s.NAME,1,30) "Statistic",
> v.VALUE
> FROM V$STATNAME s, V$SESSTAT v
> WHERE s.NAME = 'CPU used by this session'
> AND v.STATISTIC# = s.STATISTIC#
>
> .. but the value of 'CPU used by this session' is
> always 0 for all sessions.
> So my question is do I have to do something special
> to monitor CPU
> resourses?
>
> The technical details about my environment:
> OS: Windows 2000 Advanced Server
> Oracle 8.1.7.1.1 Standard Edition
> The server has 4 processes of which the Oracle
> process is allowed to use
> 3...
>
> The manual gave me another question
>
> Regards
>
> /Jonas
>
>
>
>
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Jonas A Wetterberg
> INET: jonas.a.wetterberg_at_manpower.se
>
> 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).
Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Christian Trassens
INET: ctrassens_at_yahoo.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 Wed Oct 03 2001 - 05:55:48 CDT