I replaced Home Assistant's built-in database with PostgreSQL, and my smart home finally feels snappy

My Home Assistant finally stopped lagging when I replaced SQLite with PostgreSQL.