we are currently in the process of moving data from GoogleAnalytics to our Piwik 1.6 instance. When doing that we are encountering some problems with a large UPDATE-Statement on the table “piwik_log_visit” as this table is rather large (so far the statement is running for 4500 seconds for updating data worth 1 month og GA data)
If I understand correctly the “right” approach would be to configure piwik so that old logs are “purged” (==deleted) so that the piwik_log_*-tables are much smaller.
The problem is: As we like to merge the tracked data of GA and Piwik for one site, we cannot generally delete all logs.
Is there a way to purge the logs of selected sites?
I found a description of purging manually for Piwik < 1.6:
Can we still use that SQL (with corresponing where statements) ? Or is there another way to purge the logs of selected websites?
Thanks for any hints!