museebolo / climat_guardian

Système de surveillance climatique
GNU General Public License v3.0
0 stars 4 forks source link

authomatically compress data #111

Open Rignchen opened 2 months ago

Rignchen commented 2 months ago

every day we get 1440 data and we store them forever, however, the most someone can see on the interface is a 1 hour precision.

Knowing that, keeping 1440 data per day seems overkill, it could be nice if once per day the data from the previous day were compressed to their averaged per hour version that way we could reduce the storage needed from 1440 data per day to 24 data per day + 1440 data for the current day

Rignchen commented 2 months ago

see #11 for more information about the size of the data