Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Optimizing Queries Against UNIONed View
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
![]() |
![]() |