Skip navigation links

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 4397 Brian Dalby 04/23/2012 06:55AM
Re: Hanging on copying to tmp table 2357 Rick James 04/24/2012 10:16AM
Re: Hanging on copying to tmp table 1761 Brian Dalby 04/24/2012 02:44PM
Re: Hanging on copying to tmp table 1558 Brian Dalby 04/25/2012 01:08PM
Re: Hanging on copying to tmp table 1507 Rick James 04/25/2012 08:43PM
Re: Hanging on copying to tmp table 1493 Brian Dalby 04/26/2012 12:35AM
Re: Hanging on copying to tmp table 1724 Brian Dalby 04/26/2012 02:17AM
Re: Hanging on copying to tmp table 1477 Seweryn Ożóg 04/26/2012 03:28PM
Re: Hanging on copying to tmp table 1156 Brian Dalby 04/27/2012 07:02AM
Re: Hanging on copying to tmp table 1418 Rick James 04/28/2012 01:37PM
Re: Hanging on copying to tmp table 1403 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.