Skip to content
SPECIFICTION
Get listed

Heimdall Database Proxy vs PgCat

Heimdall Database Proxy

heimdalldata.com

PgCat

github.com

Side by side

FigureHeimdall Database ProxyPgCat
Price from—Free
Free plan—Yes
Free trialYes—
Open source——
LinuxYesYes
Self-hostedYesYes
Plans published31
Spec score · Database Proxy Software7.7 (#10)7.6 (#15)
AuthenticationThe overview says the proxy supports authentication and authorization through Active Directory integration.MD5 auth passthrough can use auth_query so cleartext passwords are not required in the configuration file.
DeploymentThe proxy can be deployed as a transparent sidecar process and is described as usable on-premise or in the cloud.The project documents Docker deployment and publishes ghcr.io/postgresml/pgcat:latest.
PurposeThe Database Proxy is a data access layer that routes, caches, and secures SQL queries between an application and its database.PgCat is a PostgreSQL pooler and proxy supporting sharding, load balancing, failover and mirroring.

Plans

Heimdall Database Proxy

  • Enterprise EditionPriced on request
  • Enterprise Plus EditionPriced on request
  • Standard EditionPriced on request

Heimdall Database Proxy pricing →

PgCat

  • Open sourceFree

PgCat pricing →

In their own words

Heimdall Database Proxy

Heimdall Database Proxy is a data access layer between an application and its database, routing, caching, and securing SQL queries. It can send reads to replicas and writes to primary databases, with replication-lag detection to support consistency. Frequently used queries can be cached with automatic expiry and invalidation rules to reduce database load and latency. Connection pooling can reduce front-side to back-side connections by up to a 1000:1 ratio. The proxy provides live SQL visibility, bottleneck identification, and auto-tuning recommendations, and can run as a transparent sidecar on-premise or in the cloud. Supported databases include MySQL, PostgreSQL, Amazon RDS, Oracle, SQL Server, MariaDB, DB2, Greenplum, and Redshift. Listed cloud integrations include AWS, Azure, Oracle, Google Cloud, and Redis. Active Directory integration supports authentication and authorization. Enterprise Plus includes data masking, GDPR auditing, and honey-tokens. A free Greenplum Community Edition is available for Greenplum use, with pooling, LDAP synchronization for one server, and SQL performance analytics. The AWS Marketplace listing offers a free 30-day trial; technical support for the Community Edition requires an Enterprise upgrade.

Visit heimdalldata.com

PgCat

PgCat is a free, open-source PostgreSQL pooler and proxy for self-hosted Linux deployments. Its stable features include transaction and session pooling. Read queries can be balanced across replicas and the primary, while health checks detect broken replicas and redirect queries to remaining servers. PgCat uses Tokio’s asynchronous runtime and a multithreaded design for multicore machines. Operators can view pooler statistics through the pgcat and pgbouncer admin databases or a Prometheus HTTP endpoint. Client and PostgreSQL server connections can use SSL/TLS, with MD5 and SCRAM-SHA-256 authentication supported. MD5 passthrough can use auth_query so cleartext passwords need not be stored in the configuration file. Docker deployment is documented, and a container image is published. Sharding syntax, comment parsing, automatic sharding, and mirroring are experimental. Transaction mode is enabled by default and does not support prepared statements, SET, or advisory locks. The project describes PgCat as stable and says it serves high query volumes in production. It is licensed under MIT.

Visit github.com