Also, if you haven’t seen our Postgres tuning recommendations, this might be worth taking a look: High Availability cluster — Mattermost documentation
Also, if you haven’t seen our Postgres tuning recommendations, this might be worth taking a look: High Availability cluster — Mattermost documentation