MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Vladimir Suvarina
Date: September 27, 2006 08:43AM

Hello all,

I confirm the same problem on Linux box, running 4.1.21-log on Gentoo. I had read through this forum, tweaked my.cnf (manytimes), tweaked sysctl.conf, pam security module to change ulimit for "open files" even for "max user process". Still no luck, my server hanged frequently with "Copying to tmp table" on INNER JOIN queries. All stats mentioned in this thread are in normal.

What did help, was rewriting the query from INNER JOIN (using where a.indexed_id = b.indexed_id) to LEFT JOIN (b on b.indexed_id = a.indexed_id). This is really, REALLY strange, because the data are in 1:1 realtion, so LEFT JOIN is completly inappropriate.

I can post all the info needed, as I can also give somebody from MySQL AB a nearly root account on that box. Is this thread still alive?

Options: ReplyQuote


Subject
Views
Written By
Posted
8501
December 07, 2006 10:30AM
9891
September 23, 2005 01:56AM
5106
October 05, 2005 04:58AM
6325
October 05, 2005 11:49PM
5552
October 06, 2005 01:34AM
6915
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4470
September 27, 2006 08:43AM
6714
January 21, 2008 10:14AM
6054
January 21, 2008 10:53AM
5549
May 19, 2008 09:41AM
5731
February 05, 2008 10:27AM
6295
March 12, 2008 08:37AM
6329
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.