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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Help on execution plan

Re: Help on execution plan

From: Thomas Kellerer <spam_eater_at_gmx.net>
Date: Thu, 06 Nov 2003 14:19:24 +0100
Message-ID: <bodhot$1c6q3a$1@ID-13919.news.uni-berlin.de>


Mark,

thanks for your feedback. I was thinking about the columns beeing part of an index already. The funny thing about this, is that the index which *is* used when I remove the two columns is not the index that is beeing reported by EXPLAIN PLAN. The index beeing use is the one over (id, product_no) although there is one over (id, name, product_no, ca_code). That's basically the reason why I wasn't considering the index read.

And yes, I have tried using hints, but any of the indexes I specify make it or doesn't change too much.

I am aware of the fact that an index scan *can* be more expensive then a FTS but taking into account that the table has 4.5 million rows (in the test environment, production has about 9 million rows) I would expect an index range scan still beeing less expensive....

Thomas

mcstock schrieb:

> the columns that remain in the select list likely are being read from the
> index -- is there any other type table access for 'big_table' in the
> execution plan replacing the FTS?
> does anything else in the plan change?
> have you looked into hints to force the index range scan (which may not be
> so cheap with the additional columns included -- the optimizer may be making
> a correct choice in this case)
>
Received on Thu Nov 06 2003 - 07:19:24 CST

Original text of this message

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