MySQL Forums
Forum List  »  Performance

Re: IT'S A BUG!
Posted by: KimSeong Loh
Date: October 06, 2005 01:34AM

What makes you think the 2 select statement are the same?

The extra table in the 1st statement is not unused, the result of the 2 queries has to be very different.

The query with 2 tables is doing a cartesian product, and the result of it is a table of 1665 * 13656 rows, which exceeds 20 millions rows.



Edited 1 time(s). Last edit at 10/06/2005 01:36AM by KimSeong Loh.

Options: ReplyQuote


Subject
Views
Written By
Posted
8276
December 07, 2006 10:30AM
9656
September 23, 2005 01:56AM
4917
October 05, 2005 04:58AM
6122
October 05, 2005 11:49PM
Re: IT'S A BUG!
5384
October 06, 2005 01:34AM
6696
October 06, 2005 04:57PM
6520
January 21, 2008 10:14AM
5860
January 21, 2008 10:53AM
5322
May 19, 2008 09:41AM
5532
February 05, 2008 10:27AM
6075
March 12, 2008 08:37AM
6133
November 14, 2008 12:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.