|
|
|
@@ -3,15 +3,10 @@ |
|
|
|
This document shows you how to perform various maintenance tasks related to the Postgres database server used by Matrix. |
|
|
|
|
|
|
|
Table of contents: |
|
|
|
|
|
|
|
- [Getting a database terminal](#getting-a-database-terminal), for when you wish to execute SQL queries |
|
|
|
|
|
|
|
- [Vacuuming PostgreSQL](#vacuuming-postgresql), for when you wish to run a Postgres [VACUUM](https://www.postgresql.org/docs/current/sql-vacuum.html) (optimizing disk space) |
|
|
|
|
|
|
|
- [Backing up PostgreSQL](#backing-up-postgresql), for when you wish to make a backup |
|
|
|
|
|
|
|
- [Upgrading PostgreSQL](#upgrading-postgresql), for upgrading to new major versions of PostgreSQL. Such **manual upgrades are sometimes required**. |
|
|
|
|
|
|
|
- [Tuning PostgreSQL](#tuning-postgresql) to make it run faster |
|
|
|
|
|
|
|
## Getting a database terminal |
|
|
|
|