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
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)
4792
January 26, 2006 12:38PM
6215
January 21, 2008 10:14AM
5633
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.