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

Home -> Community -> Mailing Lists -> Oracle-L -> Process consumes CPU and long time to finished

Process consumes CPU and long time to finished

From: hernawan <hernawan_at_makro.co.id>
Date: Thu, 15 Jan 2004 01:04:41 -0800
Message-ID: <F001.005DCCD4.20040115010441@fatcity.com>


Hi all,

I have process in Oracle apps 11.5.8 which need very lot CPUs and long time to complete. for about 17,000 invoices it takes 28 hours !!

I have open TAR since month ago, and still get no solution. maybe here someone can share any idea ....? im using 11.5.8, sparc. DB 9i rel2

here is from the tkprof :

SELECT sum(nvl(entered_cr,0) - nvl(entered_dr,0)) ,

             sum(nvl(accounted_cr,0) - nvl(accounted_dr,0))
      FROM   AP_AE_Lines AEL,
             AP_AE_Headers AEH,
             AP_Invoice_Payments AIP
      WHERE  AIP.Invoice_ID = :b2
      AND    AEL.Source_ID = AIP.Invoice_Payment_ID
      AND    AEL.Source_Table = 'AP_INVOICE_PAYMENTS'
      AND    AEL.AE_Line_type_code = 'LIABILITY'
      AND    AEL.AE_Header_ID = AEH.AE_Header_ID
      AND    AEH.Set_of_Books_ID = :b1

call     count       cpu    elapsed       disk      query    current
rows
------- ------ -------- ---------- ---------- ---------- ----------

Parse 1 0.00 0.00 0 0 0 0
Execute 1539 0.23 0.31 0 0 0 0
Fetch 1539 16474.95 21810.67 24 46864854 0 1538
------- ------ -------- ---------- ---------- ---------- ----------

total 3079 16475.18 21810.99 24 46864854 0 1538

Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 24 (recursive depth: 1)

tq
--

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

Author: hernawan
  INET: hernawan_at_makro.co.id

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 Jan 15 2004 - 03:04:41 CST

Original text of this message

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