Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Merge Join (Cartesian)
Mikito Harakiri wrote:
> "Ty" <housequake_at_yahoo.com> wrote in message
> news:55a9978a.0304220752.6cbfc9a5_at_posting.google.com...
>
>>Adding the column to the select list causes a cartesian join and the >>query will run for hours before it finally fails with ORA-01555 >>"Snapshot too old". It seems odd to me that adding a column from the >>same table to the select list could have such a devasting effect on >>performance. Have any of you gurus seen anything like this? Oracle >>support has told me that this is a normal sql tuning issue. Perhaps >>it is, but I would still like to know what is going on here...
So, what Oracle support told me is true, that adding a column does indeed effect optimizer processing. Fair enough. But it also seems fair to say the optimizer is handling this query very poorly. I can at least get the query to finish using hints, but it takes close to an hour.
Thanks,
Ty
Received on Tue Apr 22 2003 - 19:59:38 CDT
![]() |
![]() |