I wrote a #howto showing how to switch your #HomeAssistant to use #postgresql instead of the default SQLite. It was before I had this fediverse account, so I'm reposting the link.
https://unixorn.github.io/post/hass-using-postgresql-instead-of-sqlite/
@unixorn nice! My HA became unresponsive about once a week and when I finally checked it turned out the SQLite db kept getting corrupted. I ended up switching to MariaDB
MySQL is a fine alternative.
It and Postgres can both handle millions of rows so they're really kind of overkill for Home Assistant.
I don't mind overkill if it makes things more reliable, though.