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: Optimizing Queries Against UNIONed View

Re: Optimizing Queries Against UNIONed View

From: Valentin Minzatu <valentinminzatu_at_yahoo.com>
Date: 23 Jan 2007 08:36:02 -0800
Message-ID: <1169570162.430384.254150@l53g2000cwa.googlegroups.com>


You now know for sure the same row cannot repeat among the tables so you can remove the ALL from the UNION clause. I think that should help you getting rid of the full table scan on both tables. (btw, I assume CODE_TYPE column is indexed) Received on Tue Jan 23 2007 - 10:36:02 CST

Original text of this message

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