Same values in database
Posted: Saturday 05 December 2015 17:45
I was looking in the database of Domoticz a bit and noticed that there are a lot of logging values of the same device with different timestamps. I know that disk space cost almost nothing these days but there are a _lot_ of double data lines in the meter, lightning log and temperature tables, this can be in years to come that the database is getting slow because of this.
Would it be an idea to check if the new value is the same as the previous and if so not add the value ?
Would it be an idea to check if the new value is the same as the previous and if so not add the value ?