Skip to content

Commit

Permalink
Merge branch 'master' into release-lifecycle-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cwarnermm authored Jun 27, 2024
2 parents 16d1d9b + 69cb232 commit 37f2447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/install/prepare-mattermost-database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,7 @@ To set up a PostgreSQL database for use by the Mattermost server:
The PostgreSQL interactive terminal starts. To exit the PostgreSQL interactive terminal, type ``\q`` and press :kbd:`Enter` on Windows or Linux, or :kbd:`` on Mac.

When the PostgreSQL database is installed, and the initial setup is complete, you can install the Mattermost server.

### Important note while upgrading a Postgres instance

If you are upgrading a major version of Postgres, it is essential that ``ANALYZE VERBOSE`` is run on the database post upgrade. This is necessary to re-populate the ``pg_statistics`` table used to generate optimal query plans. The database performance might suffer if this step is not done.

0 comments on commit 37f2447

Please sign in to comment.