MySQL Forums
Forum List  »  Performance

Re: Server just hanging (Copying to tmp table)
Posted by: Aziz Sasmaz
Date: November 11, 2007 01:24PM

I have the same problem. My site has a heavy traffic on which the students are taking exams and seeing their evaluation results. There are also measurement and evaluation statistics tables which has 2.000.000 rows. I store last login information on a table which has 3.000.000 rows. But queries are well optimized each with explain.

I tried both mysql 5.0 and 5.1.

mysqlreport says everything is okay. Every variables seem fine. But when the visitors came after we transfered exam results, traffic just increases and server load comes to %50 and %60 some queries say Copying to tmp table. I have 4 Xeon MP and 6 gb of ram in the box.

I am planning to buy new hardware A master for inserts, and at least 5 slaves for selects.

But I can't be sure if this problem occurs because of an insufficient hardware.

Options: ReplyQuote


Subject
Views
Written By
Posted
8010
December 07, 2006 10:30AM
9380
September 23, 2005 01:56AM
4684
October 05, 2005 04:58AM
5840
October 05, 2005 11:49PM
5181
October 06, 2005 01:34AM
6401
October 06, 2005 04:57PM
Re: Server just hanging (Copying to tmp table)
4627
November 11, 2007 01:24PM
6211
January 21, 2008 10:14AM
5632
January 21, 2008 10:53AM
5063
May 19, 2008 09:41AM
5317
February 05, 2008 10:27AM
5797
March 12, 2008 08:37AM
5900
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.