This is *really* scary
We are talking fetching possibly one day (but maybe more) of reports.
Let's say 200 nodes, 200 reports per run (so a not so large instance) -> 11 520 000 reports fetched from the database, at once
there's a potential out of memory error there