Connection pooling using PgBouncer
==================================

You can use PgBouncer as a connection pooler for limiting the number of
connections from the PEM agent to the Postgres Enterprise Manager (PEM)
server on non-Windows machines:

- ::

     :ref:`PEM server and agent connection management mechanism <PEM server and agent connection management mechanism>`  is an introduction to the PgBouncer-PEM infrastructure. 

- ::

     :ref:`Preparing the PEM database server <Preparing the PEM database server>`  provides information about preparing the PEM database server to use with PgBouncer. 

- ::

     :ref:`Configuring PgBouncer <Configuring PgBouncer>`  provides detailed information about configuring PgBouncer to allow it to work with the PEM database server. 

- ::

     :ref:`Configuring the PEM agent <Configuring the PEM agent>`  provides detailed information about configuring a PEM agent to connect to PgBouncer. 

For detailed information about using the PEM web interface, see
:ref:`Accessing the web interface <Accessing the web interface>`  .

.. toctree::
  :maxdepth: 3

  Planning--considerations--pem_pgbouncer--pem_server_pem_agent_connection_management_mechanism
  Planning--considerations--pem_pgbouncer--preparing_the_pem_database_server
  Planning--considerations--pem_pgbouncer--configuring_pgBouncer
  Planning--considerations--pem_pgbouncer--configuring_the_pem_agent
