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
Howto stop auto create older archive_block_{year}_{month} table? #19780
Comments
Hi @canuonifeng, thanks for reaching out. Normally Matomo will not create archive tables before the date the site was created. You can check your site created data in the If you are sure there is no data for this time period then it is probably safe to drop these tables, it might be a good idea to take a database backup first just to be safe. |
@bx80 |
Hi @canuonifeng, thanks for the additional information, this could well be related to the automatic data deletion tasks 👍 It's currently expected behavior for Matomo to create monthly archives tables for the current year, since the current year totals are generated from the sum of the months in the year, so 2022-01, 2022-02, etc are created to allow this to happen. This process could perhaps be improved so that monthly archives tables are not created prior to the first site creation date. The creation of archives tables for periods prior to the year in which the first site was created shouldn't be happening, I've assigned this ticket for prioritization so this can be investigated further. |
I deploy matomo in 09.2022, it auto create matomo_archive_block_{year}{month} and matomo_archive_numeric{year}_{month} tables from 12.2008 , like this:
Questions:
The text was updated successfully, but these errors were encountered: