long Mysql query time and high resource usage
-
my website run this query for long time (when is see show full processlist:
1045615 | user_upp | localhost | user_upp | Query | 1105| Storing result in query cache | SELECT postmeta.post_id FROM wp_bij_postmeta as postmeta LEFT JOIN wp_bij_postmeta as postmeta_2 ON postmeta.post_id = postmeta_2.post_id LEFT JOIN wp_bij_postmeta as postmeta_3 ON postmeta.post_id = postmeta_3.post_id WHERE postmeta.meta_key = '_sale_price_dates_from' AND postmeta_2.meta_key = '_price' AND postmeta_3.meta_key = '_sale_price' AND postmeta.meta_value > 0 AND postmeta.meta_value < '1566747377' AND postmeta_2.meta_value != postmeta_3.meta_value | 0.000 | | 1046598 | root | localhost | NULL | Query | 0 | Init | show full processlist
and server resource usage is high, how can i solved this issue?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘long Mysql query time and high resource usage’ is closed to new replies.