Upgrade PostgreSQL on Sentry
Sentry is using PostgreSQL 9.3, which @NikolayS says "was one the worst major versions in terms of performance". We should upgrade possibly to 10.x.
I think there was a separate issue to build a new Sentry server, so perhaps that go could along with this.
Note that the Sentry server has 373 GB in the PostgreSQL data directory.
Edited by Stan Hu