MySQL Forums
Forum List  »  Optimizer & Parser

Re: Long query execution, about 1 hr
Posted by: Rick James
Date: February 16, 2011 12:17AM

How many rows have kontakt.grupa = 'OF' ? If it is not too big a percentage of the total rows in kontakt, then this index would help:
INDEX(grupa)

What about kontakt.akcja > 1 ? Then, maybe
INDEX(grupa, akcja)

How much RAM? Can you make innodb_buffer_pool_size, 49283072 bigger? For guidance, see http://mysql.rjweb.org/doc.php/memory

Options: ReplyQuote


Subject
Views
Written By
Posted
3546
February 13, 2011 10:07AM
1220
February 14, 2011 07:00PM
1211
February 15, 2011 03:04PM
Re: Long query execution, about 1 hr
1261
February 16, 2011 12:17AM


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.