Added 'materialized view' aggregation table to fix performance:
http://demo.volkszaehler.org/pipermail/volkszaehler-users/2013-December/003216.html