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
8011
December 07, 2006 10:30AM
9388
September 23, 2005 01:56AM
4688
October 05, 2005 04:58AM
5843
October 05, 2005 11:49PM
5183
October 06, 2005 01:34AM
6405
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4066
December 15, 2005 11:18AM
6215
January 21, 2008 10:14AM
5634
January 21, 2008 10:53AM
5065
May 19, 2008 09:41AM
5322
February 05, 2008 10:27AM
5801
March 12, 2008 08:37AM
5903
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.