I had a similar problem with SWA being very slow after an upgrade from 10.x to 11.2.
After a bit of head-scratching, I noticed PostgreSQL wasn't starting on reboot. First I got the "can't bind to address" error, which I fixed by editing pg_hba.conf. When that was done, it still wouldn't start, because somehow the DB had become corrupted.
So, I used the script in /opt/scalix-postgres/bin, namely sxpsql-recreatedb to make a new one (after manually starting Postgre without any data). The script will fail if pgsql isn't running already, so make sure it is.
HTH,
Simon.