Archiving-script

When I run the archiving-script /var/www/html/piwik/misc/cron/archive.sh the output indicates that piwik is archiving every single day everytime this script runs.

As I run this script every 30 minutes it seems pretty useless to analyze traffic older than 30 minutes?
It goes back almost a year according to the text that is being echoed to the shell.

For 500 sites, and under 400 hits in one hours the analysis takes very long time. I recon it should take a few seconds, but it takes at least 10 minutes?

Are my settings wrong, or have I just misunderstood something?

archiving process, when ran, will process today’s reports for all websites. You can find more info in http://piwik.org/docs/setup-auto-archiving…piwik-archiving