Upgrade problems due to bloated table
-
Store URL: https://www.alandart.co.uk
WordPress version: 3.4.2 / 4.3.1
WP eCommerce version: 3.8.9
Gold Cart version: NA
Theme: CustomI did this:
- Disabled all plugins
- Updated all plugins
- Updated WordPress to version 4.3.1
- Re-enabled plugins one by one and checked the site after each. After re-enabling WPeCommerce the page would take a long time to load then fail with a 500 error
- I logged the site errors and found that it was failing with an out of memory error while accessing the db
- I increased the max memory to 256Mb but still got the same problem.
I checked the database and found the wp_options had become bloated to over 6Gb, most of which was transients from WPeCommerce. - I used 2 plugins to trim down the size of wp_options (delete-expired-transients and wp-optimize), then optimised the table, this reduced it to around 2Gb (with little overhead)
- I attempted to re-enable WPeCommerce again, but got the same result.
I expected WPeCommerce to do this:
Update from 3.8.9 to 3.9.1Instead it did this:
Crash the site with a 500 out of memory eror
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Upgrade problems due to bloated table’ is closed to new replies.