On index-obsessed apps, you'll often see massive
amount of LIO to a target of a nested loop. ie, scan
mega table and then index probe the inner table for
every row of the mega table...
Generally you'll see smoke coming out of the index
root/branch blocks on the target table :-)
hth
connor
- Greg Moore <sqlgreg_at_pacbell.net> wrote: > A while
back someone mentioned that the two main
> causes of slow SQL are
> excesive LIO's and excesscive database calls, which
> show up as excessive CPU
> use and excessive network traffic, respectively.
>
> Regarding the database calls, is there a "classic"
> reason for this problem?
>
> My best guess is it's caused by an SQL statement in
> a PL/SQL loop, which
> could be rewritten as a single SQL statement. But
> is this the single,
> commonly seen cause for this problem, or are there
> other common ways this
> inefficiency is introduced?
>
> Thanks in advance for help in understanding this.
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Greg Moore
> INET: sqlgreg_at_pacbell.net
>
> 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).
Connor McDonald
http://www.oracledba.co.uk
http://www.oaktable.net
"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day"
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
INET: hamcdc_at_yahoo.co.uk
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 Sat Nov 16 2002 - 12:13:59 CST