Stop our database from bloating, with entries such as _wc_session and _transient
-
Hi!
I’ve been asked to see if I can sort out a problem on kulturland.se/bokhandel. It’s a pretty standard WooCommerce shop. However, we recently got an email from our host saying our database was growing too large. It was as large as 200 MB.
It seems that in our database, and the table wp_options, we were getting thousand of entries called _wc_session and _transient. After reading up on the matter I decided it was fairly safe to delete these entries, getting the database back down to 6 MB.
That was only 3 days ago, and the database has grown to 29 MB. We don’t have enough visitors to warrant such a quick increase (since I believe the entries are related to the shopping cart).
I’m not experienced enough to solve the problem on my own. Some of the advice I’ve been reading says we need to keep google’s crawlers from accessing the shop through a robots.txt, and some say it’s our host’s fault for not allowing a cron job to be run.
– What do you think? Is there any way you can help me in stopping the bloating of our database?
- The topic ‘Stop our database from bloating, with entries such as _wc_session and _transient’ is closed to new replies.