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
8262
December 07, 2006 10:30AM
9639
September 23, 2005 01:56AM
4902
October 05, 2005 04:58AM
6105
October 05, 2005 11:49PM
5373
October 06, 2005 01:34AM
6682
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4258
December 15, 2005 11:18AM
6508
January 21, 2008 10:14AM
5849
January 21, 2008 10:53AM
5308
May 19, 2008 09:41AM
5519
February 05, 2008 10:27AM
6064
March 12, 2008 08:37AM
6122
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.