Softwr

Databases · head to head

Percona vs PgBouncer

Percona logo

Percona

Databases

Open-source MySQL, PostgreSQL, MongoDB and Valkey software with paid support and managed operations

From
Free
Free plan
Yes
PgBouncer logo

PgBouncer

Databases

Lightweight open-source connection pooler for PostgreSQL

From
Free
Free plan
Yes

The short version

  • PgBouncer is an open-source connection pooler.
  • Both are free.
  • Only Percona lists Percona Server for MySQL; only PgBouncer lists session pooling.
  • Where Percona falls short: support and managed services are quoted rather than priced publicly.
  • Where PgBouncer falls short: works with PostgreSQL only; it cannot pool connections for other database engines.

How do Percona and PgBouncer differ?

Percona and PgBouncer differ on platforms. Only the attributes on which Percona and PgBouncer actually diverge.

Attributes where Percona and PgBouncer differ
AttributePerconaPgBouncer
PlatformsWebLinux, macOS, Windows

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: category for Percona, founded for PgBouncer.

Which features does each one have?

They share no listed features; 8 appear only for Percona and 9 only for PgBouncer. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Percona

  • Percona Server for MySQL
  • Percona Distribution for PostgreSQL
  • Percona Server for MongoDB
  • Kubernetes operators
  • Percona Monitoring and Management
  • Percona Toolkit
  • 24x7 expert support
  • Managed operations and consulting

Only in PgBouncer

  • Session pooling
  • Transaction pooling
  • Statement pooling
  • Low memory use per connection
  • Online reconfiguration of most settings
  • Online restart and upgrade without dropping clients
  • Backends on different hosts
  • TLS support via OpenSSL

What is each one used for?

Percona is most often brought in for staying on MySQL or PostgreSQL with expert support; PgBouncer for reducing open connections to a busy PostgreSQL server. The jobs each tool is most often brought in to do.

Percona

  • Staying on MySQL or PostgreSQL with expert supportnot PgBouncer
  • Monitoring mixed database fleets with PMMnot PgBouncer
  • Running databases on Kubernetesnot PgBouncer
  • Migrating off proprietary databasesnot PgBouncer

PgBouncer

  • Reducing open connections to a busy PostgreSQL servernot Percona
  • Pooling connections from serverless or short-lived application processesnot Percona
  • Fronting databases spread across several hostsnot Percona
  • Rolling upgrades without dropping client connectionsnot Percona

Where do Percona and PgBouncer fall short?

Percona's most cited limit: support and managed services are quoted rather than priced publicly. PgBouncer's: works with PostgreSQL only; it cannot pool connections for other database engines. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Percona

  • Support and managed services are quoted rather than priced publicly
  • Not a single database: a set of distributions for separate engines
  • Self-hosted software leaves operations to the customer without a subscription
  • No fully hosted database service comparable to a cloud provider's

PgBouncer

  • Works with PostgreSQL only; it cannot pool connections for other database engines
  • Transaction pooling disables session features such as LISTEN, SET/RESET and session-level advisory locks
  • Windows support is limited to MinGW builds; Cygwin and Visual toolchains are not supported
  • Configured through files and an admin console, with no built-in graphical interface
  • Does not provide failover, replication management or read-replica load balancing

How much do Percona and PgBouncer cost?

Percona is free to use; PgBouncer is free to use. Plan by plan below, from each vendor's own pricing page.

Percona

Free

No published plan breakdown. See the Percona review.

PgBouncer

Free

No published plan breakdown. See the PgBouncer review.

Which should you pick?

Choose Percona if

  • You need percona server for mysql.
  • You want to start without paying.
  • You also want percona distribution for postgresql.

Choose PgBouncer if

  • You need session pooling.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want transaction pooling.

Questions people ask

Is Percona or PgBouncer better?
It depends on the job. Percona fits staying on MySQL or PostgreSQL with expert support; PgBouncer fits reducing open connections to a busy PostgreSQL server. Percona starts at Free and PgBouncer at Free.
Which is cheaper, Percona or PgBouncer?
Percona starts at Free and PgBouncer at Free.
Does Percona or PgBouncer run on more platforms?
Percona runs on Web. PgBouncer runs on Linux, macOS, Windows.
Can I use Percona for free?
Both have a free tier, so you can try either at no cost before committing.
What is Percona best used for?
Percona is most often used for staying on mysql or postgresql with expert support, monitoring mixed database fleets with pmm, running databases on kubernetes, migrating off proprietary databases. Of those, staying on mysql or postgresql with expert support and monitoring mixed database fleets with pmm are not what PgBouncer is typically brought in for.
What can Percona do that PgBouncer cannot?
Percona covers Percona Server for MySQL, Percona Distribution for PostgreSQL, Percona Server for MongoDB, Kubernetes operators. PgBouncer covers Session pooling, Transaction pooling, Statement pooling, Low memory use per connection.

Answered from the vendors’ own pages

Percona: Does Percona charge licence fees?

No. The software is presented as free of licensing fees and lock-in; Percona sells support, managed operations and consulting.

Source
PgBouncer: What is PgBouncer used for?

PgBouncer is a lightweight connection pooler for PostgreSQL. It lets many client connections share fewer server connections, which lowers the load of holding many connections open.

Source
Percona: Which databases does Percona cover?

MySQL, PostgreSQL, MongoDB and Valkey/Redis, along with Kubernetes databases, PMM and Percona Toolkit.

Source
PgBouncer: What pooling modes does PgBouncer support?

It supports session, transaction and statement pooling. Session pooling supports all PostgreSQL features, while transaction and statement pooling restrict some session-based features.

Source
Percona: When was Percona founded?

Peter Zaitsev and Vadim Tkachenko founded it in 2006.

Source
PgBouncer: Does PgBouncer run on Windows?

The project's build instructions support Windows only through MinGW. It states that Cygwin and Visual toolchains are not supported, and that LDAP is not supported on Windows.

Source
PgBouncer: What do I need to build PgBouncer from source?

The README lists a C11-capable compiler, Libevent 2.0 or newer, pkg-config and, for TLS, OpenSSL 1.0.1 or newer. Optional components include c-ares, LDAP libraries and PAM libraries.

Source
Share

Related pages

Other head to heads