Repository navigation
SQL Database grows quickly because of some entities #990
Nieass
started this conversation in
Feature Ideas
Replies: 2 comments
|
Thanks for the suggestion! 🙌 Here's how this works:
If your idea is very specific to your setup, it may not make it into the core integration — I'll try to suggest a workaround in that case. Feel free to discuss details or alternatives below. |
0 replies
|
Good catch, thanks. Those sensors were writing a new attributes row every few seconds, and nothing in the integration reads that history back. In the next 2.0.0 beta:
Live attributes are unchanged, only their history stops being stored. The database won't shrink right away: old rows leave as your retention period expires, and the file itself only gets smaller after a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Some entities contain quite some data in the SQL Database. And I am wondering if all of it is needed for history/functioning of the system.
See screenshot below: Red marked entities are quite big. The sensor.omnibattery_consumption_profile_capture and sensor.omnibattery_home_consumption are needed I guess but I would say sensor.omnibattery_integration_status and sensor.omnibattery_three_phase_protection_status dont need to keep all attributes as history? 🤷🏼♂️

All reactions