MySQL Forums
Forum List  »  Performance

Re: Slow query with order by and limit
Posted by: Thomas Wiedmann
Date: December 17, 2010 08:20AM

Thanks for the EXPLAIN.

Okay, I have suggest a redundate Index (tid, vid) identical to PRIMARY on table TERM_NODE. Please DROP this Index. Sorry.

ALTER TABLE term_node 
 DROP KEY idx_tid_vid;

From Rick I read this calc about MyISAM buffer:
If using just MyISAM, set key_buffer_size to 20% of _available_ RAM. (Plus innodb_buffer_pool_size=0)

with kind regards,
Thomas

Options: ReplyQuote


Subject
Views
Written By
Posted
4973
December 16, 2010 07:43AM
Re: Slow query with order by and limit
1150
December 17, 2010 08:20AM
1254
December 17, 2010 09:04AM
1166
December 17, 2010 09:53AM
1610
December 17, 2010 11:47PM
1264
December 18, 2010 10:50AM


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.