Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Eliminating cartesian merge
Jonathan Lewis wrote:
> "Chuck" <skilover_nospam_at_softhome.net> wrote in message
> news:1127918214.a86aa150f9acb770b1c7365331b2c2f4_at_bubbanews...
>
>>Query_rewrite_enabled is already set to true. Here's the execution plan >>with the RULE hint. You'll probably need to turn of line wrapping for it >>to make any sense. >> >>---------------------------------------------------------------------------------------- >>| Id | Operation | Name | Rows | >>Bytes | Cost | >>----------------------------------------------------------------------------------------
Didn't change the plan at all. The CBO can sometimes be a real PITA. Sometimes it just seems to make up it's mind that it's going to do things it's way and there's nothing you can do about it. I don't understand why you would *ever* want to choose a Cartesian product unless there is no join between two row sources. I think they need an instance level parameter along the lines of enable_cartesian_merge = FALSE.
What's frustrating about this is Oracle's own documentation states that a Cartesian product will only be chosen if there is no join criteria between two row sources. That's simply not true.
-- To reply by email remove "_nospam"Received on Wed Oct 05 2005 - 11:07:25 CDT
![]() |
![]() |