MySQL Forums
Forum List  »  Performance

Re: Related posts by tags optimization
Posted by: Rick James
Date: June 10, 2012 10:36PM

Please provide the EXPLAIN.

Suggest you work outward from
FROM ( SELECT idTag, COUNT(*) AS relCt FROM rel_posts_tags
WHERE idPost = 34501
GROUP BY idTag
ORDER BY relCt DESC LIMIT 10 )

Options: ReplyQuote


Subject
Views
Written By
Posted
2900
June 08, 2012 10:27AM
Re: Related posts by tags optimization
1070
June 10, 2012 10:36PM


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.