MySQL Forums
Forum List  »  Performance

Related posts by tags optimization
Posted by: René Olivo
Date: June 08, 2012 10:27AM

Hello everyone,

I'm trying to optimise a query where I have a posts table and when a post is shown I want to show other relevant posts sorted by tags frequency.

I have managed to do the query, but it shows TEMPORARY; FILESORT. If possible I want it to be just FILESORT.

Here's the code and table structure from the handy SQLFiddle:
http://sqlfiddle.com/#!2/3d163/6

Preferably I'd like the solution to be query wise since I have little control over the configuration file.

Thanks in advance :)

Options: ReplyQuote


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


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.