MySQL Forums
Forum List  »  Performance

Re: Has anyone found a Viable Solution? (YEP)
Posted by: Dâmaris P. da Luz
Date: January 08, 2007 12:12PM

I don't know if it's the definitive solution, but it worked for me.

Problem: Query stuck on the 'Copying to tmp table' state. After a while, server hangs.

Situation: Very, very old database whose tables involved in that query didn't have any kind of index (primary, unique, etc.)

Solution: Create an index for each table involved in the query.

Options: ReplyQuote


Subject
Views
Written By
Posted
8196
December 07, 2006 10:30AM
9573
September 23, 2005 01:56AM
4840
October 05, 2005 04:58AM
6029
October 05, 2005 11:49PM
5316
October 06, 2005 01:34AM
6608
October 06, 2005 04:57PM
Re: Has anyone found a Viable Solution? (YEP)
4811
January 08, 2007 12:12PM
6425
January 21, 2008 10:14AM
5783
January 21, 2008 10:53AM
5240
May 19, 2008 09:41AM
5450
February 05, 2008 10:27AM
5999
March 12, 2008 08:37AM
6058
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.