You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating an existing Goal, the next cron job will try to generate past reports.
My current settings: rearchive_reports_in_past_last_n_months = last1
The cron job will then take up to 30 hours to complete!
Each weekly report took around 10 minutes. But it seems that the monthly report for February took 27 hours.
Thousands of partial reports will be inserted in the DB during the process
MariaDB [matomo]> select count(*) from matomo_archive_numeric_2021_03 where date1 = '2021-03-22' and period = 1 and name like '%Goal%';
+----------+
| count(*) |
+----------+
| 125936 |
We have 125936 Goal reports for a single day.
Filtering on the row including done and Goal:
MariaDB [matomo]> select count(*) from matomo_archive_numeric_2021_03 where date1 = '2021-03-22' and period = 1 and name like 'done%Goal%';
+----------+
| count(*) |
+----------+
| 3572 |
+----------+
I actually couldn't find any code that invalidates old archives when a Goal is updated. @nelhefni are you using the Funnels plugin? That one might invalidate it's own reports when a Goal changes. But imho it shouldn't take so long to rearchive the Funnel reports. ping @diosmosis
@sgiehl this should be fixed by the PRs linked here: #17428 (comment) . We're waiting for verification there (otherwise I guess we'll close it before release).
Hello,
After updating an existing Goal, the next cron job will try to generate past reports.
My current settings:
rearchive_reports_in_past_last_n_months = last1
The cron job will then take up to 30 hours to complete!
Each weekly report took around 10 minutes. But it seems that the monthly report for February took 27 hours.
Thousands of partial reports will be inserted in the DB during the process
We have 125936 Goal reports for a single day.
Filtering on the row including
done
andGoal
:Here is a small extract of the actual rows:
Goal plugin seems to be archiving segments for the same dates over and over.
Could you please have a look?
Your Environment
Matomo 4.2.1
The text was updated successfully, but these errors were encountered: