Reorder database docs to promote postgresql. (#7933)

This commit is contained in:
Michael Kaye 2020-07-23 12:48:49 +01:00 committed by GitHub
parent 68cd935826
commit ff22672fd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -188,12 +188,8 @@ Using PostgreSQL
================ ================
Synapse offers two database engines: Synapse offers two database engines:
* `SQLite <https://sqlite.org/>`_
* `PostgreSQL <https://www.postgresql.org>`_ * `PostgreSQL <https://www.postgresql.org>`_
* `SQLite <https://sqlite.org/>`_
By default Synapse uses SQLite in and doing so trades performance for convenience.
SQLite is only recommended in Synapse for testing purposes or for servers with
light workloads.
Almost all installations should opt to use PostgreSQL. Advantages include: Almost all installations should opt to use PostgreSQL. Advantages include:
@ -207,6 +203,10 @@ Almost all installations should opt to use PostgreSQL. Advantages include:
For information on how to install and use PostgreSQL, please see For information on how to install and use PostgreSQL, please see
`docs/postgres.md <docs/postgres.md>`_. `docs/postgres.md <docs/postgres.md>`_.
By default Synapse uses SQLite and in doing so trades performance for convenience.
SQLite is only recommended in Synapse for testing purposes or for servers with
light workloads.
.. _reverse-proxy: .. _reverse-proxy:
Using a reverse proxy with Synapse Using a reverse proxy with Synapse

1
changelog.d/7933.doc Normal file
View File

@ -0,0 +1 @@
Reorder database paragraphs to promote postgres over sqlite.