Softwr

Databases · head to head

PgBouncer vs Swan

PgBouncer logo

PgBouncer

Databases

Lightweight open-source connection pooler for PostgreSQL

From
Free
Free plan
Yes
Swan logo

Swan

APIs

European banking-as-a-service platform for embedding accounts, cards and payments into other products

From
€2990/month
Free plan
No

The short version

  • PgBouncer is an open-source connection pooler.
  • PgBouncer is free; Swan starts at €2990/mo.
  • Only PgBouncer lists session pooling; only Swan lists embedded business accounts.
  • Where PgBouncer falls short: works with PostgreSQL only; it cannot pool connections for other database engines.

How do PgBouncer and Swan differ?

PgBouncer and Swan differ on starting price (Free against €2990/month), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which PgBouncer and Swan actually diverge.

Attributes where PgBouncer and Swan differ
AttributePgBouncerSwan
Starting priceFree€2990/month
Pricing modelOpen-sourceQuote
Free tierYesNo
PlatformsLinux, macOS, WindowsWeb, API
CategoryDatabasesAPIs

Which features does each one have?

They share no listed features; 9 appear only for PgBouncer and 6 only for Swan. 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 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

Only in Swan

  • Embedded business accounts
  • Card issuing
  • SEPA payments
  • Local account localisation
  • ACPR regulation
  • Usage-based pricing

What is each one used for?

PgBouncer is most often brought in for reducing open connections to a busy PostgreSQL server; Swan for A company wanting SEPA payment initiation embedded directly into its own product. The jobs each tool is most often brought in to do.

PgBouncer

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

Swan

  • A vertical SaaS platform wanting to embed business bank accounts under its own brandnot PgBouncer
  • A marketplace wanting to issue cards to sellers or partners without becoming a licensed banknot PgBouncer
  • A company wanting SEPA payment initiation embedded directly into its own productnot PgBouncer
  • A European fintech wanting to avoid a six-figure setup fee and long lock-in typical of legacy banking-as-a-service dealsnot PgBouncer

Where do PgBouncer and Swan fall short?

PgBouncer's most cited limit: 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.

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

Swan

  • Its regulatory base and strongest local account coverage are French and European, so companies needing US, UK-post-Brexit-specific, or broader global banking-as-a-service need an additional provider
  • Pricing is described only philosophically (usage-based, no big setup fee) rather than published as an actual rate card, so a company still needs a sales conversation to get real numbers
  • Embedding banking features into a product is a substantial compliance and design undertaking regardless of the vendor, and Swan handling the licence does not remove a platform's own KYC, AML and customer support obligations for the accounts it offers
  • As a comparatively young, single-country-licensed e-money institution, its balance sheet and regulatory standing carry more concentration risk than a banking-as-a-service offering backed by an established, multi-jurisdiction bank
  • Local account depth is explicitly limited to France, Germany and Spain, so a platform needing native local accounts in other European countries may find coverage thinner than expected

How much do PgBouncer and Swan cost?

PgBouncer is free to use; Swan starts at €2990/mo. Plan by plan below, from each vendor's own pricing page.

PgBouncer

Free

No published plan breakdown. See the PgBouncer review.

Swan

€2990/month
  • SwanOn request
    • Usage-based pricing, no published rate card
    • No long-term contract or large setup fee required
    • Custom quote based on current, not forecast, usage
  • SandboxFree
  • Swan on demand€2,990/mo
  • Swan EnterpriseOn request

Which should you pick?

Choose PgBouncer if

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

Choose Swan if

  • You need embedded business accounts.
  • You work on Web, API.
  • You also want card issuing.

Questions people ask

Is PgBouncer or Swan better?
It depends on the job. PgBouncer fits reducing open connections to a busy PostgreSQL server; Swan fits a vertical SaaS platform wanting to embed business bank accounts under its own brand. PgBouncer starts at Free and Swan at €2990/month.
Which is cheaper, PgBouncer or Swan?
PgBouncer has a free tier; the other does not. Paid plans start at Free for PgBouncer and €2990/month for Swan.
Does PgBouncer or Swan run on more platforms?
PgBouncer runs on Linux, macOS, Windows. Swan runs on Web, API.
Can I use PgBouncer for free?
Yes. PgBouncer has a free tier, so you can try it without paying. Swan starts at €2990/month.
What is PgBouncer best used for?
PgBouncer is most often used for reducing open connections to a busy postgresql server, pooling connections from serverless or short-lived application processes, fronting databases spread across several hosts, rolling upgrades without dropping client connections. Of those, reducing open connections to a busy postgresql server and pooling connections from serverless or short-lived application processes are not what Swan is typically brought in for.
What can PgBouncer do that Swan cannot?
PgBouncer covers Session pooling, Transaction pooling, Statement pooling, Low memory use per connection. Swan covers Embedded business accounts, Card issuing, SEPA payments, Local account localisation.

Answered from the vendors’ own pages

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
Swan: Which countries does Swan offer local accounts in?

France, Germany and Spain specifically, alongside broader SEPA payment coverage.

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
Swan: Is pricing published?

No, Swan describes a usage-based, no-large-setup-fee philosophy but requires a quote for actual numbers.

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
Swan: Who regulates Swan?

France's ACPR (Autorite de Controle Prudentiel et de Resolution), as a licensed e-money institution.

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