0
I have 2 queries and both increasing load on server almost timeout. can anybody please optimize them for best result ?
Query 1
SELECT DISTINCT M.msg_id, M.uid_fk, M.message, S.created, M.like_count,M.comment_count,M.share_count, U.username,M.uploads,
S.uid_fk AS share_uid,S.ouid_fk...