Skip to content
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

Temporary archives should be deleted #5505

Closed
mattab opened this issue Jan 24, 2008 · 1 comment
Closed

Temporary archives should be deleted #5505

mattab opened this issue Jan 24, 2008 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 24, 2008

When archiving data for a period that is not finished (today, this week, this month, etc.) the archive is not definitive and one day piwik will compute the data of this period. At this point we will still have the temporary archive in the DB ; it should be deleted.
- day: delete where period = day and date1 = DATE
delete archives for a given date that were archived this same day
- week: delete where period = week and date1 = startWeek and date2= endWeek and DATE <= date2

etc.

@mattab
Copy link
Member Author

mattab commented Mar 18, 2008

(In 384) – fix #5505 huge disk space saving :)

@mattab mattab added this to the DVNO milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

1 participant