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
8306
December 07, 2006 10:30AM
9678
September 23, 2005 01:56AM
4940
October 05, 2005 04:58AM
6151
October 05, 2005 11:49PM
5406
October 06, 2005 01:34AM
6722
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4305
September 27, 2006 08:43AM
6545
January 21, 2008 10:14AM
5882
January 21, 2008 10:53AM
5355
May 19, 2008 09:41AM
5556
February 05, 2008 10:27AM
6103
March 12, 2008 08:37AM
6156
November 14, 2008 12:31AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.