Hi guys, right to business. I have an activity feed which gets all different kinds of activity from different parts of my site sorts them all out by means of using UNION and an ORDER BY and then a LIMIT to get the top 25 and then displays the activity.
My fellow programmer says that we will run into problems when we have more rows (currently we have 800) and it's fine.
So the question. Will the UNION cause slow down later down the line? If so should we a) Try and put the activity into a new table and then query that. b) Try some sort of view? - (if so could anyone explain how I'm not too sure how!) c) Other...
Thanks for your help. Richard