My history and logbook are very slow. I run HA container and use a separate MariaDB docker container for the recorder. My record config looks like this:
purge_keep_days: 10
db_url: !secret mariadb_url
db_max_retries: 100
db_retry_wait: 20
I can see the database file sizes have grown to what I suspect, and read elsewhere, are ridiculous levels.
I think purge_keep_days
was previously 150 days and this may be where the DB size has come from, but I can’t work out now how to reduce the current file sizes.
I’ve tried to manually call the purge service, and also waited a few days for the auto purges, but the database sizes haven’t changed.
Any help would be greatly appreciated!
2 posts - 2 participants