[Piwik-hackers] always_archive_data = true in global.inc.php

Anton Andrievskij x.meglio at gmail.com
Tue Jun 3 19:12:22 CEST 2008


How setting always_archive_data = true will slow execution?

I'm building the site where thousands of users will make tens of pages and
each page will be tracked as separate site in Piwik.
When I'm testing with always_archive_data = false I get buts.

For example, I have 3 visits for idSite=3. if I query

?module=API&method=VisitsSummary.get&idSite=3&period=day&date=last3&format=xml
I get correct data (3 visits)

but then I query for 3 last months:

?module=API&method=VisitsSummary.get&idSite=3&period=month&date=last3&format=xml

and I get 1 visits.

After setting always_archive_data = true I get correct data, but I'm afraid
that this will slow things for thousands sites.

Please help me to understand why I get incorrect data when
aways_archive_data = false

Thanks,
Anton

-- 
Best regards,
Anton Andriyevskyy

Please think about the environment
and do not print this e-mail
unless you really need to.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.piwik.org/pipermail/piwik-hackers/attachments/20080603/34d8e335/attachment.htm 


More information about the Piwik-hackers mailing list