MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Dmitriy Kropivnitskiy
Date: January 26, 2006 12:38PM

I just want to report that I am having exactly the same problem (tables stuck in the "Copying to tmp table" position. I am running MySQL 5.0.18 on Debian linux (testing branch). I have read this thread, and I see you haven't found a solution yet (if you did PLEASE!!! tell me). The queries I have are SELECTs with UNION. I didn't yet try to flush tables and I do have a hard limit of 1024 open files set (trying to find where is it getting set to change it). On of the things that seem to be prolonging the life of my server so far is the fact that I brought my settings from

read_rnd_buffer = 16M
sort_buffer = 8M
join_buffer = 8M
read_buffer = 2M
table_cache = 5000

to

read_rnd_buffer = 2M
sort_buffer = 4M
join_buffer = 2M
read_buffer = 2M
table_cache = 512

Now the server has been up (under close to peak loads) for 3 hours and still holding. If it gives out I will try increasing open files ulimit (as well as use lsof to find out if this actually is causing the problem).

Options: ReplyQuote


Subject
Views
Written By
Posted
8091
December 07, 2006 10:30AM
9492
September 23, 2005 01:56AM
4752
October 05, 2005 04:58AM
5928
October 05, 2005 11:49PM
5235
October 06, 2005 01:34AM
6485
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4862
January 26, 2006 12:38PM
6295
January 21, 2008 10:14AM
5691
January 21, 2008 10:53AM
5137
May 19, 2008 09:41AM
5377
February 05, 2008 10:27AM
5869
March 12, 2008 08:37AM
5957
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.