Optimizing Bloated Database
-
I’ve been getting notices from my hosting company that my site is reaching its allotted disk size limit. In investigating I’ve discovered that my database is 423MB, of which ~290MB is from WP Statistics.
Yesterday, in Optimization->Data Cleanup, I purged visitor records older than 90 days. That caused the wp_statistics_visitor table to drop from 235,000 entries to 5,900. However, this did not result in a decrease in database size. The wp_statistics_historical table is now at 235,000 rows.
What I’m seeing is this:
wp_statistics_historical – 235,578 rows – 65.9MiB
wp_statistics_pages – 12,478 rows – 127.8MiB
wp_statistics_visitor – 5,907 rows – 68.9MiB
wp_statistics_visitor_relationships – 14,276 rows – 27.5MiBWhat are my options for decreasing the size of my database, short of removing the plugin and its data and starting over?
- You must be logged in to reply to this topic.