Hi everyone,
since months I run into issues with my huge DB (cannot install updates, add-ons and such).
I read tons of threads about DB growing big (and will continue to do so), but most of them mention 5GB to be huge.
Mine is at 23 GB though:
So, I wonder if I need to go from 32 GB drive to 64 (or more), but assume, there is something wrong and I will use up the space quickly again.
I am using an NUC7CJYH2 with 32GB SSD and 8GB RAM running
Home Assistant 2023.10.0
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231002.0 - latest
Along the way I have added filters to the recorder which look like this:
recorder:
purge_keep_days: 21
auto_repack: true
auto_purge: true
include: # Configure which entity domains should be included in recordings. If set, all other entities will NOT be recorded.
domains:
- alarm_control_panel
- automation
- binary_sensor
- cover
- device_tracker
- input_boolean
- input_select
- light
- lock
- person
- script
- sensor
- switch
- sun
- timer
exclude:
event_types:
- service_removed
- service_executed
- platform_discovered
- homeassistant_start
- homeassistant_stop
- feedreader
- service_registered
- call_service
- component_loaded
- logbook_entry
- system_log_event
- automation_triggered
- script_started
- timer_out_of_sync
I also have purged the DB to14 days including repack
but the DB seems to ignore this.
At least the size does not change.
In one of the threads I read about the SQLite Web to look into the DB (don’t know if this will shed some light though), but I cannot install it due to limited space.
I am fine with the generic HA statistics so history at the moment (InfluxDB to be explored), but I would love to have at least 30 days historic data (if realistic with the internal default recorder SQLite).
Questions:
- I read in one older thread, that the Energy dashboard will store the data in the default DB as well. Is this the case already and maybe the culprit?
- Is there any other option to reduce the DB size without losing too much data?
Any suggestion is greatly appreciated