Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2018-05-19 04:21:37 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-05-19 04:21:37 +0300
commit34191a72b84bde53f7fb58a04d62be8bac09d4fa (patch)
treecbbcd362619a3c65dfc8ddc98113c1db11b80bd4 /plugins/Contents
parent7f3e0c7d7e0cdb73c8ae2e3862c147aac1e63c39 (diff)
Improve memory usage for some action archivers (#12930)
* Improve memory performance of event queries * also improve memory of action archive queries * improve memory usage for content tracking * fix typo
Diffstat (limited to 'plugins/Contents')
-rw-r--r--plugins/Contents/Archiver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Contents/Archiver.php b/plugins/Contents/Archiver.php
index ba8df12d79..ea922195b6 100644
--- a/plugins/Contents/Archiver.php
+++ b/plugins/Contents/Archiver.php
@@ -109,9 +109,9 @@ class Archiver extends \Piwik\Plugin\Archiver
AND log_link_visit_action.idaction_content_name IS NOT NULL
AND log_link_visit_action.idaction_content_interaction IS NULL";
- $groupBy = "log_action_content_piece.idaction,
- log_action_content_target.idaction,
- log_action_content_name.idaction";
+ $groupBy = "log_link_visit_action.idaction_content_piece,
+ log_link_visit_action.idaction_content_target,
+ log_link_visit_action.idaction_content_name";
$orderBy = "`" . Metrics::INDEX_NB_VISITS . "` DESC";