The slow query:
SELECT piwik_log_visit.* ,
piwik_goal.match_attribute as goal_match_attribute,
piwik_goal.name as goal_name,
piwik_goal.revenue as goal_revenue,
piwik_log_conversion.idaction_url as goal_idaction_url,
piwik_log_conversion.server_time as goal_server_time,
count(*) as count_goal_conversions
FROM piwik_log_visit
LEFT JOIN piwik_log_conversion
ON piwik_log_visit.idvisit = piwik_log_conversion.idvisit
LEFT JOIN piwik_goal
ON (piwik_goal.idsite = piwik_log_visit.idsite
AND piwik_goal.idgoal = piwik_log_conversion.idgoal)
AND piwik_goal.deleted = 0
WHERE piwik_log_visit.idsite = '2’
GROUP BY idvisit
ORDER BY visit_last_action_time DESC LIMIT 10
I am now trying to disable the goals plugin - hopefully this is a short-term workaround…
Piwik without Live is now much more responsive than my previous version (1.0) with the Live plugin. Therefore, this was always a problem, but it seems to have gotten noticeably worse in 1.1.1.