New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blob table 4x bigger before doing purge-old-archive-data #11322
Comments
I think the results may be a bit bigger in January because it stores yearly archives there etc (I think). Also I don't know how much data PlatformsReport archives but that's quite a difference. I'm not into #7181 but am wondering whether you have "browser archiving" enabled and/or how often your cronjob runs? |
Thanks for answering, highly appreciated.
And my DB is on different MySQL server (4 cores, 12 GB of RAM) and nothing else run on that server. |
Looking at the code it seems that already there is a daily scheduled task which should have the same effect as calling the daily scheduled task is defined here: https://github.com/piwik/piwik/blob/3.0.1/plugins/CoreAdminHome/Tasks.php#L41-L43 @gaumondp when you check your |
Here is my current cronjob :
Looking at the last 2 days I'm seeing an error message I didn't notice:
In fact I really erased all my piwik_archive_blob_2016_* and piwik_archive_numeric_2016_* but only website I got a problem is siteId 6 for annual reports only. Other reports are ok and consistant. The log from cron has 0 visit for annual reports (There is no data for this report.) :
And today my Report table has February at 13 GB and January at 4 GB. So it looks there are never any purgeOutdatedArchives run. Am I supposed to see anything about purgeOutdatedArchives in my cron log ? Remember, I'm still using 2.17.1. Thanks! |
Hi @gaumondp |
Marking as duplicate of #10439 |
I'm still wondering how this still happens. My January piwik_archive_blob_2017_01 went from 31.9 GB to 800 MB (12 M rows to 161k rows) after doing
./console core:purge-old-archive-data all
I'm well aware of ticket #7181 (Report archives have tripled in size) but with a database that went from63 GB to 28.1 GB total I'm looking for a long term solution.
Piwik 2.17.1 (can't upgrade to 3.x until few months)
PHP 5.5.x, Apache 2.4.x, MySQL 5.5.x
All tests green in Piwik System Check.
Active non-Core plugins : Logviewer, PlatformReport, RestrictLaguageSelection,SecurityInfo and SimpleSysMon.
Here are my last 3 months (last time I run purge-old-archive-data) :
No errors in my PHP or Apache log nor in Piwik.
The text was updated successfully, but these errors were encountered: