Reduce CommentMeta Table Size
-
I’m getting very close (93%) to my 100Mb WordPress database limit with my host and have been looking at how to reduce the size of some tables.
The wp_comments table is the biggest and has around 50,000 records with no spam or pending approval entries and is around 46Mb in size and can’t be further reduced.
However, the wp_commentmeta table is still 26Mb in size with 170,000 records – even after following standard tips for removing things like redundant Askimet records and any orphans.
I noticed just under 100,000 records have meta-key that are ’email notification’ – such as email_notification_queued, email_notification_unqueued and email_notification_jobid.
I’ve no idea if these records are used for anything important or are just historic entries that just sit there.
I’d be grateful if anyone has any knowledge or advice as to how the wp_comment_meta table can be reduced significantly. Many wordpress users have mentioned how they have reduced theirs to just a few megabytes after cleanup but mine is currently a quarter of my total data size.
My only other option of reducing the size significantly is to empty the wp_statpress table that the NewStatPress plugin uses, which is also pretty big at 23Mb. Though I’d obviously lose my historic stats too.
I should add that I originally had my site on wordpress.com before exporting the data to my www.remarpro.com site – the comments are all from historic blog posts and now members use a forum plugin instead of making comments.
- The topic ‘Reduce CommentMeta Table Size’ is closed to new replies.