Same values in database

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
PixelMagic
Posts: 7
Joined: Wednesday 28 October 2015 21:17
Target OS: Linux
Domoticz version: 3.8796
Location: Netherlands
Contact:

Same values in database

Post by PixelMagic »

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 ?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest