BomAle 434 Posted May 12, 2018 Share Posted May 12, 2018 In questa guida vi lascio una serie di consigli per ridurre il carico di lavoro svolto dal software. RIDURRE followers inattivi con mysql, utile per chi ha un server smtp con limitazioni. #TROVARLI SELECT m.last_visit,f.follow_app,f.follow_area,f.follow_rel_id, count(*) as counter FROM ipb_core_follow f LEFT JOIN ipb_core_members m ON f.follow_member_id=m.member_id WHERE m.last_visit < UNIX_TIMESTAMP(NOW() - INTERVAL 1 YEAR) GROUP BY f.follow_app, f.follow_area, f.follow_rel_id ORDER BY counter desc #RIMUOVERLI DELETE f.* FROM ipb_core_follow f LEFT JOIN ipb_core_members m ON f.follow_member_id=m.member_id WHERE m.last_visit < UNIX_TIMESTAMP(NOW() - INTERVAL 1 YEAR) Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now