@@ -201,7 +201,7 @@ The following guide assumes that:
...
@@ -201,7 +201,7 @@ The following guide assumes that:
for more information.
for more information.
1. Save the file and reconfigure GitLab for the database listen changes and
1. Save the file and reconfigure GitLab for the database listen changes and
the replication slot changes to be applied.
the replication slot changes to be applied:
```bash
```bash
gitlab-ctl reconfigure
gitlab-ctl reconfigure
...
@@ -555,6 +555,55 @@ the instructions below:
...
@@ -555,6 +555,55 @@ the instructions below:
gitlab-ctl restart
gitlab-ctl restart
```
```
## PGBouncer support (optional)
[PGBouncer](http://pgbouncer.github.io/) may be used with GitLab Geo to pool
PostgreSQL connections. We recommend using PGBouncer if you use GitLab in a
high-availability configuration with a cluster of nodes supporting a Geo
primary and another cluster of nodes supporting a Geo secondary. For more
information, see the [Omnibus HA](https://docs.gitlab.com/ee/administration/high_availability/database.html#configure-using-omnibus-for-high-availability)
documentation.
For a Geo secondary to work properly with PGBouncer in front of the database,
it will need a separate read-only user to make [PostgreSQL FDW queries][FDW]
work:
1. On the primary Geo database, enter the PostgreSQL on the console as an
admin user. If you are using an Omnibus-managed database, log onto the primary