Loading history is getting painfully slow, I think because of some sensors updating every second (e.g. average of values updating a every few seconds), Is there a way to have different keep_days for different sensors?
I’m already using MariaDB on a x86-64 server with 4GB RAM dedicated to HassIO (which it uses barely 1GB of)…I don’t know what else to do.
I want to keep (almost) everything for a few hours to make troubleshooting easier.
I want to keep “many” things for at least a couple days I can review/display them
I want to keep “a few” things for 2-3 weeks that I think I may be having intermittent issues with.
Is there any way to do this easily?