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: RE: SQL*Net message from client

Re: RE: SQL*Net message from client

From: <ryan.gaffuri_at_cox.net>
Date: Thu, 3 Jun 2004 7:26:53 -0400
Message-Id: <20040603112653.MVJI15473.lakermmtao10.cox.net@smtp.central.cox.net>


>From the way your update is written, it looks like it is running inside of a pl/sql loop. Am I correct?

culprit number one, dml inside loops are hideously slow. Inspite of what several books say.... Not sure why that would cause sqlnet waits.
> PARSING IN CURSOR #6 len=336 dep=0 uid=19 oct=6 lid=19 tim=1248377797
> hv=3885370321 ad='a7027a74'
> UPDATE warehouse.summary_hits_fact shf
> SET (hit_count) =
> (SELECT count(*)
> FROM hits_fact hf
> WHERE shf.page_hit_key = hf.page_hit_key
> AND shf.hit_date_key = hf.hit_date_key)
> WHERE shf.page_hit_key = :p1
> AND shf.hit_date_key = :p2



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

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Jun 03 2004 - 06:23:47 CDT

Original text of this message

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