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: Many tables in a view.

Re: Many tables in a view.

From: Rod Corderey <RodCorderey_at_Lane-Associates.com>
Date: Mon, 22 May 2000 20:35:56 +0100
Message-Id: <10505.106272@fatcity.com>


Are your joins simple joins?

If so then if some of the tables being joined are selection and some are control table result joins, then investigate whether the selection/navigation joins can be better served via in clauses and exists/notexists.

Similarly, some of the control table result joins may be removed by embedding in-line views of compound joins to achieve the same results.

If you are able to use in clauses based on highly selective access paths then you should be able to "encourage" the optimiser along the best execution plan.

Rod

-- 
Rod Corderey

Lane Associates
RodCorderey_at_Lane-Associates.com
http://www.Lane-Associates.com

Jack van Zanen wrote:

>
>
>
> Hi All
>
> I have a question:
>
> If we join 11 tables in a view the performance of a select on that view will
> drop dramatically compared to 10 tables in the join.
> I have heard something about this being a optimizer issue that does not really
> like this many tables in a join.
>
> What are the possible solutions to make these querries run better??
>
> Jack
>
> ===================================================================
> De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor
> de geadresseerde. Gebruik van deze informatie door anderen dan de
> geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding
> en/of verstrekking van deze informatie aan derden is niet toegestaan.
> Ernst & Young staat niet in voor de juiste en volledige overbrenging van de
> inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan.
> ===================================================================
> The information contained in this communication is confidential and may be
> legally privileged. It is intended solely for the use of the individual or
> entity to whom it is addressed and others authorised to receive it. If you
> are not the intended recipient you are hereby notified that any disclosure,
> copying, distribution or taking any action in reliance on the contents of
> this information is strictly prohibited and may be unlawful. Ernst &
> Young is neither liable for the proper and complete transmission of the
> information contained in this communication nor for any delay in its
> receipt.
> ===================================================================
>
> --
> Author: Jack van Zanen
> INET: nlzanen1_at_ey.nl
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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 Mon May 22 2000 - 14:35:56 CDT

Original text of this message

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