Optimizing Database

Imre

Member
Joined
Jun 29, 2015
Messages
52
Reaction score
18
It often happens that WP plugins pump the database full of logs that should be purged periodically.
Pending comments, post/page revisions, stored contact form submissions etc can also make your database larger than it should be.
Also if you had plugin in the past that you no longer use, their data might still be in the db even though the plugin itself is no longer on your site. The database can still contain orphan tables etc.

I use 2 plugins to cleanup the bloat:
https://wordpress.org/plugins/wp-sweep/ and https://wordpress.org/plugins/plugins-garbage-collector/ both quite useful.

Before you proceed, make sure you have a full backup.
 

preditor

Affiliate Guard Dog Member
Joined
Sep 14, 2010
Messages
453
Reaction score
303
Super Important: BACKUP BEFORE any kind of playing around with databases of any kind! Also, check with your hosting if they have an automatic daily backup or similar.
 

Frank

Affiliate Guard Dog Member
Joined
Jan 7, 2015
Messages
935
Reaction score
465
You can do it via cpanel via the server or use a plugin, but like everyone says make a backup as these do have a tendency to fail quite a lot
 
Top