@mattab opened this Issue on January 24th 2008 Owner

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(ts_archived)
    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(ts_archived) <= date2


@mattab commented on March 18th 2008 Owner

(In [384]) - fix #5505 huge disk space saving :)

This Issue was closed on March 18th 2008
Powered by GitHub Issue Mirror