Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Site disabled - DB running very slowly
My DB is really huge these days, and the cause seems to be the LUM_IPHistory table and the LUM_UserDiscussionWatch table.
I've emptied LUM_IPHistory - is there anything i can do about the other one? It is running at about 60mb.
0
This discussion has been closed.
Comments
DELETE dw FROM LUM_UserDiscussionWatch as dw LEFT JOIN LUM_Discussion as d ON dw.DiscussionID = d.DiscussionID WHERE d.DateLastActive < DATE_SUB(NOW(), INTERVAL 365 DAY);