Related posts by tags optimization
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 :)
Subject
Views
Written By
Posted
Related posts by tags optimization
2900
June 08, 2012 10:27AM
1071
June 10, 2012 10:36PM
962
June 10, 2012 11:15PM
1081
June 11, 2012 11:40PM
1040
June 12, 2012 01:50AM
944
June 12, 2012 08:58PM
1172
June 12, 2012 10:24PM
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.