MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Thomas Deliduka
Date: August 30, 2005 11:59AM

The ones having the most trouble recently are those run off of the phpbb database. Those are the ones I'm finding are ending up hanging the system. and when I say hanging, it's really just one databse. All other sites and actions on other databses run fine. It's just the one. And recently (the last three weeks) it's only been the phpBB database.

The website has thousands of messages in it. The site is www.redmen.com and there are tons of posts. He's got archives back to 1997.

The queries in question are update queries to the threads read count I think. And the one on the first page that gets the last 5 posts. Now, when the server is running fine (say when it's first (re)started or after running FLUSH TABLES, those queries take less than 0.2 seconds to execute. So, they would hardly be considered slow queries. When the problem manifests itself (and I believe it is that the server deteriorates over time) the query times get long and longer until they finally start hanging.

I don't know what OLAP or OLTP are. I know that I'm using primarily PHP to connect to the server using mysql_connect() from the web server that is a different physical machine. It connects over a gigabit Ethernet connection.

Perhaps, like I said, I should run "FLUSH TABLES" every few hours just to keep the machine running. I thought I read there was a way to have the system do this automatically am I right? Will flush tables cause internet connections to drop and time-out people on the websites?

I know enough to be dangerous. Thanks for being patient!

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Server just hanging (Copying to tmp table)
4868
August 30, 2005 11:59AM
8276
December 07, 2006 10:30AM
9656
September 23, 2005 01:56AM
4917
October 05, 2005 04:58AM
6122
October 05, 2005 11:49PM
5384
October 06, 2005 01:34AM
6696
October 06, 2005 04:57PM
6520
January 21, 2008 10:14AM
5860
January 21, 2008 10:53AM
5322
May 19, 2008 09:41AM
5532
February 05, 2008 10:27AM
6074
March 12, 2008 08:37AM
6133
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.