to rule out the apps themselves: Is the performance also that bad when you use the mobile web client by accessing the Mattermost webinterface through one of the browsers on the mobile devices?
I found out that my postgresql db is bloated up heavily, even so there is a nightly vacuum job running.
Running that job manually gave me a lot of these messages
NOTICE: word is too long to be indexed
DETAIL: Words longer than 2047 characters are ignored.
these notices are “OK”, it’s just about how the PostgreSQL fulltext index works; single words longer than 2047 characters are not supported and that does not necessarily needs to be a reason for your performance problem here.
What PostgreSQL version are you using?
There are several tuning primer scripts available that would help you get an idea on your current setup, so you could try one of them: