Query Monitor showing slow queries with wordpress core
-
Hi,
I have downloaded Query Monitor because the product list/product pages in the backend take a while to load/update. I have loaded a product in the back-end and the query monitor brought up 3 queries that are slow to load.
The first one takes over 2 seconds to load:
Query:
SELECT DISTINCT meta_key
FROM wpvq_postmeta
WHERE meta_key NOT BETWEEN ‘_’
AND ‘_z’
HAVING meta_key NOT LIKE ‘\\_%’
ORDER BY meta_key
LIMIT 30Caller: –
meta_form()
wp-admin/includes/template.php:698
post_custom_meta_box()
wp-admin/includes/meta-boxes.php:760
do_meta_boxes()
wp-admin/includes/template.php:1345The second one takes over 1.5 seconds
Query:
UPDATEwpvq_postmeta
SETmeta_value
= ‘1595717115:1’
WHEREpost_id
= 202567
ANDmeta_key
= ‘_edit_lock’Caller:
update_metadata()Does anyone know how to make these queries run faster, or could link me anything that explains how to tackle this?
Thanks
- The topic ‘Query Monitor showing slow queries with wordpress core’ is closed to new replies.