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

Home -> Community -> Usenet -> c.d.o.server -> Re: Show/Explain Query Plan

Re: Show/Explain Query Plan

From: Ng K C Paul <paulkcng_at_news.netvigator.com>
Date: 1998/09/19
Message-ID: <6tvoo6$dti$2@imsp009a.netvigator.com>#1/1

I always think that the where clause is the row filtering criteria

Dan Guzman (nospamplease_guzmanda_at_mindspring.com) wrote:
: I believe the table scan plan is correct since there are no joins or row
: filtering criteria. Unfortunately, the plan does not show that the
: evaluation of the literal apparently occurs first so the subordinate table
: scan never takes place when the literal condition is false.
:
: Hope this helps.
:
: Ng K C Paul wrote in message <6tsuh2$neq$1_at_imsp009a.netvigator.com>...
: >Sometimes, I wonder if I should trust the plan returned from the query
: >optimizer. For example,
: >
: >create table aaa (a int)
: >
: >select * from aaa
: >where 1=2
: >
: >Some plans show table scan for the above query. Is it normal?
:
:
Received on Sat Sep 19 1998 - 00:00:00 CDT

Original text of this message

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