Add two new columns in the groups table to use in aggregated data calculation. We are currently calculating this in fly for each calculation run
total_area float
time_spent_max_allowed float
Why
Caching the geo areas decreases stat calculation time significantly.
For eg: For the whole 2022 year data (by calculating 1 month at a time), It took more than 5 days. After the current implementation, it took around 1-2 hours and the majority of time was spent on initial cache calculation.
Changes
groups
table to use in aggregated data calculation. We are currently calculating this in fly for each calculation runWhy
Caching the geo areas decreases stat calculation time significantly. For eg: For the whole 2022 year data (by calculating 1 month at a time), It took more than 5 days. After the current implementation, it took around 1-2 hours and the majority of time was spent on initial cache calculation.
Deployment steps