Slow query – Nextgen
-
Hi All,
Since upgrade to new version, I expect hughe problems with mysql.
Here’s the slow query log.This query is executed when clicking “Add Gallery / Images”.
# Time: 140123 13:46:17
# User@Host: @ localhost []
# Query_time: 33.742712 Lock_time: 0.000104 Rows_sent: 1406 Rows_examined: 6492984
use xxxxx;
SET timestamp=1390481177;
SELECT wp_ngg_gallery.* ,wp_options
.option_value
AS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_gallery
LEFT OUTER JOINwp_options
ONwp_options
.option_name = CONCAT(‘wp_ngg_gallery_’, wp_ngg_gallery.gid) LEFT OUTER JOINwp_postmeta
ONwp_postmeta
.post_id
=wp_options
.option_value
GROUP BY wp_ngg_gallery.gid;How can we avoid this querie is being executed or can we tune the tables?
Niels
- The topic ‘Slow query – Nextgen’ is closed to new replies.