Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jun 05, 2012 2:54 pm 
Offline
Senior Member

Joined: Wed Dec 01, 2010 10:39 am
Posts: 71
Website: http://www.pannix.net
Location: Belgium
The database of one of my Wordpress blogs can grow 20 MB in one week because of spam comments. They are all caught by Akismet, but I wonder what the influence on performance is (I have a Linode 512 LEMP)?
Basically I think it should not affect performance for visitors of my site whether the comment table (actually the commentmeta table) is 1 MB or 20 MB
Letting it accumulate does affect time to empty the spam comments, to the point of time-outs ( I let scripts run up to 60s). It does affect the size of the daily and weekly backups (especially when I had them emailed to me).

When does size begins to affect performance? Wordpress uses MyISAM.


Top
   
 Post subject:
PostPosted: Tue Jun 05, 2012 3:29 pm 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
That pretty much depends on:

- how well it is indexed
- whether row scans are involved
- hot data fits in memory
- no text type columns so any temp tables involved (eg. for sorting) do not spill to disc
- tps


Top
   
 Post subject:
PostPosted: Tue Jun 05, 2012 7:17 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Also, when possible, do not use MyISAM. Tuning for InnoDB is significantly easier, and it tends to handle writes better. Wordpress works absolutely fine with InnoDB.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group