Woocommerce shortcode breaks mysql database
-
Hi!
I have a wordpress site runnings woocoomerce as an afiiliate site.
The site has around 20 000 products atm.
When I use woocommerce shortcodes it takes A LOT of power from the server (a lot more than it should!).
The site does not have a lot of visitors. It runs on a VPS server with 32gb ram.When I use a short code to display a single product based on post id it immediately (when adding the shortcode to a page or post) breaks the entire site.
What is happening is something with the mysql call and the site gets overloaded and the ram gets maxed out. At first the databse stopps working and within seconds the entire server gets overloaded due to this mysql call.Does anyone know what the issue could be?
Is it always like this?
It should be possible to have 20 000 products and still a working site, right?It would be great if anyone could help! ??
Kind regards Annie
- The topic ‘Woocommerce shortcode breaks mysql database’ is closed to new replies.