O'Reilly logo

PostgreSQL High Performance Cookbook by Dinesh Kumar, Chitij Chauhan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing PgBouncer

In this recipe, we are going to show the steps that are required to install PgBouncer.

Getting ready

We can either do a full source-based installation or use the operating system-specific package manager to install PgBouncer.

How to do it...

On an Ubuntu/Debian based system, we need to execute the following command to install PgBouncer:

apt-get install pgbouncer

On CentOS, Fedora, or Red Hat-based Linux distributions, we can execute the following command:

yum install pgbouncer

If you are doing a full source based installation, then the sequence of commands are mentioned here:

  1. Download the archive installation file from the given link:http://pgfoundry.org/projects/pgbouncer
  2. Extract the downloaded archive and enter the source directory: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required