Heavy MySQL usage
-
Hi There
I noticed a spike in MySQL usage on the webhost for this site and raised a ticket with them. Their response was:
As to the MySQL usage – we are attaching the MySQL slow logs for the last few days. The heaviest query seems to be related to the complianz-gdpr WordPress plugin:
# SHOW TABLE STATUS FROM
tregearbpm_wpc99b1eeb90f050b82e1b02c00dd027cc
LIKE 'wp_options' # SHOW CREATE TABLEtregearbpm_wpc99b1eeb90f050b82e1b02c00dd027cc
.wp_options
UPDATEwp_options
SEToption_value
= 'a:3:{s:23:\"cmplz_default_banner_id\";a:2:{s:5:\"value\";s:1:\"1\";s:7:\"expires\";i:1728453279;}s:19:\"cmplz_min_banner_id\";a:2:{s:5:\"value\";s:1:\"1\";s:7:\"expires\";i:1728453280;}s:18:\"page_links_1_en_US\";a:2:{s:5:\"value\";a:1:{s:2:\"eu\";a:2:{s:16:\"cookie-statement\";a:2:{s:5:\"title\";s:13:\"Cookie Policy\";s:3:\"url\";s:37:\"https://tregearbpm.com/cookie-policy/\";}s:17:\"privacy-statement\";a:2:{s:5:\"title\";s:14:\"Privacy Policy\";s:3:\"url\";s:38:\"https://tregearbpm.com/privacy-policy/\";}}}s:7:\"expires\";i:1728450280;}}' WHEREoption_name
= 'cmplz_transients' # Converted for EXPLAIN # EXPLAIN /*!50100 PARTITIONS*/ selectoption_value
= 'a:3:{s:23:\"cmplz_default_banner_id\";a:2:{s:5:\"value\";s:1:\"1\";s:7:\"expires\";i:1728453279;}s:19:\"cmplz_min_banner_id\";a:2:{s:5:\"value\";s:1:\"1\";s:7:\"expires\";i:1728453280;}s:18:\"page_links_1_en_US\";a:2:{s:5:\"value\";a:1:{s:2:\"eu\";a:2:{s:16:\"cookie-statement\";a:2:{s:5:\"title\";s:13:\"Cookie Policy\";s:3:\"url\";s:37:\"https://tregearbpm.com/cookie-policy/\";}s:17:\"privacy-statement\";a:2:{s:5:\"title\";s:14:\"Privacy Policy\";s:3:\"url\";s:38:\"https://tregearbpm.com/privacy-policy/\";}}}s:7:\"expires\";i:1728450280;}}' fromwp_options
whereoption_name
= 'cmplz_transients'
We are not sure whether the plugin has some optimization options, nor how exactly its queries can be optimized. You may want to contact its developers for further assistance.
Do you have any suggestions of how I can remedy this please?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.