Archiving process

(Anita) #1


Can anyone explain me the need and the necessity for the archiving process in piwik. And how is it done?

Thanks in Advance


(Burton Kent) #2

Hi Anita,

As far as I can tell, there are actually two types of archiving processes. (Someone correct me if I’m wrong.)

Day archiving is done to generate reports from today’s visits. This will actually generate statistics/reports for immediate view.

Period archiving (Week, Month, Year) condenses the individual statistics collected on each visit and each page load into a summarized form suitable for reports over a long period of time.

The “Period” archives can be set to run with a cron job (a script triggered at a certain time - usually in off peak hours) if they’re going to be very intensive. If you have a large site, you’d probably want to do this, but for most sites it won’t matter.