Hi,
I'm running a large piwik instance with more than 6k sites.
Usually I'm doing daily archiving via cronjob which took around 4 hours before (also with piwik 2.1.0).
After upgrading to piwik 2.2.2 I got issues with the archive time.
I killed the first archiving cronjob which was still running after the second one (24 hours later) started.
From the performance I see now it will take around 48 hours to process all the sites once.
Is there anything that needs to be done now to have the old performance back? Or is it "only" for the first run after upgrading?
I already switched from archive.php to console core:archive .
Edit:
I see that most of the time is spent in archiving for the year:
Regards,
Thomas
I'm running a large piwik instance with more than 6k sites.
Usually I'm doing daily archiving via cronjob which took around 4 hours before (also with piwik 2.1.0).
After upgrading to piwik 2.2.2 I got issues with the archive time.
I killed the first archiving cronjob which was still running after the second one (24 hours later) started.
From the performance I see now it will take around 48 hours to process all the sites once.
Is there anything that needs to be done now to have the old performance back? Or is it "only" for the first run after upgrading?
I already switched from archive.php to console core:archive .
Edit:
I see that most of the time is spent in archiving for the year:
INFO CoreConsole[2014-05-11 10:36:26] [6ddb9] Archived website id = 1826, period = day, 0 visits in last 4 days, 0 visits today, Time elapsed: 0.747s INFO CoreConsole[2014-05-11 10:36:27] [6ddb9] Archived website id = 1826, period = week, 0 visits in last 4 weeks, 0 visits this week, Time elapsed: 1.105s INFO CoreConsole[2014-05-11 10:36:29] [6ddb9] Archived website id = 1826, period = month, 0 visits in last 4 months, 0 visits this month, Time elapsed: 2.096s INFO CoreConsole[2014-05-11 10:36:50] [6ddb9] Archived website id = 1826, period = year, 0 visits in last 4 years, 0 visits this year, Time elapsed: 21.055s INFO CoreConsole[2014-05-11 10:36:50] [6ddb9] Archived website id = 1826, 4 API requests, Time elapsed: 25.013s [347/4533 done] INFO CoreConsole[2014-05-11 10:36:51] [6ddb9] Archived website id = 1827, period = day, 0 visits in last 4 days, 0 visits today, Time elapsed: 0.745s INFO CoreConsole[2014-05-11 10:36:52] [6ddb9] Archived website id = 1827, period = week, 0 visits in last 4 weeks, 0 visits this week, Time elapsed: 1.102s INFO CoreConsole[2014-05-11 10:36:54] [6ddb9] Archived website id = 1827, period = month, 0 visits in last 4 months, 0 visits this month, Time elapsed: 2.097s INFO CoreConsole[2014-05-11 10:37:15] [6ddb9] Archived website id = 1827, period = year, 0 visits in last 4 years, 0 visits this year, Time elapsed: 21.072s
Regards,
Thomas