MySQL Forums :: Performance :: Hanging on copying to tmp table


Advanced Search

Re: Hanging on copying to tmp table
Posted by: Brian Dalby ()
Date: April 24, 2012 02:44PM

Hi Rick,

Thank you for your reply.

The explain is the same when everything runs smoothly.
I am not able to recreate the issue and force the problem, it happens sporadically.

The issue is also there, if I do not use SQL_CACHE, I added SQL_CACHE to try to prevent the problem.

I tried to add the use index part, but it trippled the execution time of the query. Which is not intentional, as it is running on a webpage.

It does not happen every day, but lately it has occured quite a lot.

The server has 12 GB of memory, quad core cpu and so on.
The memory usage of MySQL is mostly around 20%.

Regards,
Brian

Options: ReplyQuote


Subject Views Written By Posted
Hanging on copying to tmp table 6124 Brian Dalby 04/23/2012 06:55AM
Re: Hanging on copying to tmp table 3052 Rick James 04/24/2012 10:16AM
Re: Hanging on copying to tmp table 2336 Brian Dalby 04/24/2012 02:44PM
Re: Hanging on copying to tmp table 1979 Brian Dalby 04/25/2012 01:08PM
Re: Hanging on copying to tmp table 2080 Rick James 04/25/2012 08:43PM
Re: Hanging on copying to tmp table 1996 Brian Dalby 04/26/2012 12:35AM
Re: Hanging on copying to tmp table 2282 Brian Dalby 04/26/2012 02:17AM
Re: Hanging on copying to tmp table 1923 Seweryn Ożóg 04/26/2012 03:28PM
Re: Hanging on copying to tmp table 1572 Brian Dalby 04/27/2012 07:02AM
Re: Hanging on copying to tmp table 1839 Rick James 04/28/2012 01:37PM
Re: Hanging on copying to tmp table 1867 Brian Dalby 04/28/2012 02:00PM


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.