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: Understanding CPU time and profile

RE: Understanding CPU time and profile

From: Khedr, Waleed <Waleed.Khedr_at_FMR.COM>
Date: Thu, 28 Nov 2002 15:08:39 -0800
Message-ID: <F001.0050EBEC.20021128150839@fatcity.com>


So what if the user is using PQO? Would this control the total (sum) of all the CPU time used by all processes involved in the query?

Waleed

-----Original Message-----
Sent: Thursday, November 28, 2002 4:59 PM To: Multiple recipients of list ORACLE-L

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).
--

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

Author: Khedr, Waleed
  INET: Waleed.Khedr_at_FMR.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 - 17:08:39 CST

Original text of this message

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