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

Home -> Community -> Mailing Lists -> Oracle-L -> Understanding CPU time and profile

Understanding CPU time and profile

From: Stephane Paquette <stephane_paquette_at_yahoo.com>
Date: Thu, 28 Nov 2002 13:58:38 -0800
Message-ID: <F001.0050EBAA.20021128135838@fatcity.com>


I'm testing profile to limit end users doing ad-hoc queries.

I have a query that is taking 51740 cpu unit according to v$sesstat. In the doc, the unit is "Amount of CPU time (in 10s of milliseconds)" so its 517 seconds.

I've created a profile with cpu_per_call limit of 3000, the unit is in hundredths of seconds, so 30 seconds.

Once the profile created the query fails and when I checked the cpu in v$sesstat it went from 10692 to 21547 so 10855 so 108 seconds.
It should have been around 30 seconds, no ?



Stéphane Paquette
DBA Oracle et DB2, consultant entrepôt de données Oracle and DB2 DBA, datawarehouse consultant stephane_paquette_at_yahoo.com

Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca
--

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

Author: =?iso-8859-1?q?Stephane=20Paquette?=   INET: stephane_paquette_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Thu Nov 28 2002 - 15:58:38 CST

Original text of this message

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