Skip navigation links

MySQL Forums :: Performance :: High load - queries take long time


Advanced Search

Re: High load - queries take long time
Posted by: Rick James ()
Date: November 06, 2009 09:04PM

This is possibly excessive:
innodb_log_file_size = 1500M
and may cause hiccups when it is flushing it.

To assist in analyzing slow SELECTs, please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes -- works better than DESC
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
* SHOW VARIABLES LIKE 'innodb%'; -- various settings
and surround them with [ code ] and [ / code ] -- preserves formatting

Please SHOW CREATE TABLE Puntuacio_a_Tormar\G so I see if this needs a better index:

SELECT * FROM Puntuacio_a_Tormar WHERE ReceiverID = 100000241230329

How much RAM do you have?

Do any deadlocks show up in SHOW INNODB STATUS;
SHOW GLOBAL STATUS;
will show the rest of the data.

Options: ReplyQuote


Subject Views Written By Posted
High load - queries take long time 268 Prova Test 11/05/2009 01:22PM
Re: High load - queries take long time 227 Prova Test 11/05/2009 01:26PM
Re: High load - queries take long time 203 Rick James 11/06/2009 09:04PM
Re: High load - queries take long time 187 Prova Test 11/07/2009 10:02PM
Re: High load - queries take long time 166 Rick James 11/08/2009 10:36PM
Re: High load - queries take long time 166 Prova Test 11/09/2009 03:35AM


Sorry, only registered users may post in this forum.