MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Jay Pipes
Date: December 15, 2005 11:18AM

That doesn't make a whole lot of sense. Putting the filter in the ON clause simply means that you trim the joined resultset *before* joining to the primary result. The records that were to be removed by the xno_prod_index.word ='thermometer' filter in the WHERE clause should already be removed by the time the joined results are done...

I'd have to take a look at your schema in order to determine why it didn't work properly. Or, you could post the results of an EXPLAIN SELECT for both variations, and I can probably tell what happened...

Cheers,

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Views
Written By
Posted
8204
December 07, 2006 10:30AM
9584
September 23, 2005 01:56AM
4850
October 05, 2005 04:58AM
6044
October 05, 2005 11:49PM
5324
October 06, 2005 01:34AM
6620
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4210
December 15, 2005 11:18AM
6436
January 21, 2008 10:14AM
5792
January 21, 2008 10:53AM
5250
May 19, 2008 09:41AM
5464
February 05, 2008 10:27AM
6011
March 12, 2008 08:37AM
6071
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.