MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Daniel Nichter
Date: August 31, 2005 07:15PM

An interesting idea. Though, if open files were the problem, you'd think the status of the thread would be "Copying to tmp table on disk" instead. Perhaps MySQL is switching from a memory table to a disk table, can't get the file handle, then freezes and so the thread status doesn't get updated. For this to be the case, table_cache would have to be set to ulimit -n for the system and be at 100% usage. In my case it was I believe (I know it was set to 1028 for some weird reason, and I know the server hit 100% table cache usage). Thomas and Shawn: Is this true for your servers too?

In Thomas's last post of a mysqlreport report, his table_cache was only 1,000 though, and the problem still occurred (Open 1.00k of 1000 %Cache: 100.00); that would seem to dismiss or change the theory. Perhaps it's just a general problem with 100% table cache usage and temp tables, though I don't see how the two are related if not by open file limits and disk tmp tables.

Options: ReplyQuote


Subject
Views
Written By
Posted
8991
December 07, 2006 10:30AM
Re: Server just hanging (Copying to tmp table)
18431
August 31, 2005 07:15PM
10398
September 23, 2005 01:56AM
5585
October 05, 2005 04:58AM
7876
October 05, 2005 11:49PM
6039
October 06, 2005 01:34AM
7404
October 06, 2005 04:57PM
7213
January 21, 2008 10:14AM
6575
January 21, 2008 10:53AM
6033
May 19, 2008 09:41AM
6221
February 05, 2008 10:27AM
6772
March 12, 2008 08:37AM
6804
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.