[Piwik-hackers] Question about how piwik_archive_* tables work

Benjamin, Anthony L alb at illinois.edu
Wed Jul 30 21:09:36 CEST 2008


Thanks, that seems to have worked... one question about how that works, when I changed that to true and asked for GeoIP data, it was generated, was it generated just for the day I asked for, or was it generated for every day there was data for? I have now turned it back to false, and it appears as though all the data is in there?

Thanks again,
Anthony


From: piwik-hackers-bounces at piwik.org [mailto:piwik-hackers-bounces at piwik.org] On Behalf Of Matthieu Aubry
Sent: Wednesday, July 30, 2008 2:03 PM
To: piwik-hackers at piwik.org
Subject: Re: [Piwik-hackers] Question about how piwik_archive_* tables work

You're looking for config/global.ini.php

; if set to true, the archiving process will always be triggered, even if the archive has already been computed
; this is useful when making changes to the archiving code so we can force the archiving process
always_archive_data = false

On Wed, Jul 30, 2008 at 7:17 PM, Benjamin, Anthony L <alb at illinois.edu<mailto:alb at illinois.edu>> wrote:

Greetings,



I've been using Piwik for a little over two weeks now and am very happy with the results. I recently added the GeoIP plugin to the mix as well. One thing I noticed with the GeoIP plugin was that it would only generate GeoIP information for visits that happened after it was installed. I did a little scripting and wrote a script to populate all of the location_geoip_* data in the piwik_log_visit table, hoping that perhaps that would cause all of the other days' data to be generated as well, but no dice. I then tried deleting the GeoIP generated rows from piwik_archive_blob, but again, only the current day regenerated not any of the previous days. So my question is, is there a way through invoking Piwik code, or doing a little bit of modification, that I can get the archive data populated for all of those other days as well? This is really going to come into play when I go about trying to back-populate Piwik in the future.



Thanks in advance,

Anthony



_______________________________________________
Piwik-hackers mailing list
Piwik-hackers at piwik.org<mailto:Piwik-hackers at piwik.org>
http://lists.piwik.org/cgi-bin/mailman/listinfo/piwik-hackers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.piwik.org/pipermail/piwik-hackers/attachments/20080730/4cc650f5/attachment-0001.htm 


More information about the Piwik-hackers mailing list