Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Join Optimization
With an appropriate index on table1.field1 then the execution plan will be optimal.
regards
-- Niall Litchfield Oracle DBA Audit Commission UK <geenstones_at_my-deja.com> wrote in message news:8vhb8e$7gf$1_at_nnrp1.deja.com...Received on Thu Nov 23 2000 - 09:27:33 CST
> Can I get oracle to only scan the results
> of a joined query?
> Example:
>
> Select * from table1,table2
> where table1.id = table2.id and
> table1.field1 = 'test'
>
> In this query, Oracle is doing a full scan on
> table1 to find 'test'. After the scan is over,
> it will then do the join.
>
> I really want it to only find 'test' on the
> resulting records of the join.
>
> Hope this make sense.
>
> -G
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.