Skip to main content
Table of contents

Databases

PgBouncer

PgBouncer sits between our apps and PostgreSQL. It performs connection pooling, and can also treat databases on remote hosts as if they were local. From the perspective of an app, it is talking to a regular PostgreSQL server.

Where it lives

  • In Carrenza, it lives on postgresql-primary-1.backend
  • We do not use pgbouncer in AWS

The content-data-api, mapit, and transition apps use their own database servers, and do not connect through PgBouncer.

This page was last reviewed on 12 February 2020. It needs to be reviewed again on 12 May 2020 by the page owner #govuk-developers .
This page was set to be reviewed before 12 May 2020 by the page owner #govuk-developers. This might mean the content is out of date.