We have an issue where a site on a shared hosting account is going over the allowed query limit per user; that is set at 100k queries/hr
. The site shouldn't be generating that amount of queries TBH and so we are trying to track down where they are all coming from.
The site is built on WordPress
and uses WooCommerce
so going through the code itself isn't really plausible.
What are ways to diagnose this type of issue!? I have thought of turning on mysql query logging
to see all the queries that are being run - by doing this you should easily be able to spot the issue, but the host has refused to turn it on.
Are there any other ways we can diagnose the issue that would likely be able to be done on shared hosting? What about PHP profiling
?