PostgreSQL In Great STYle

Battery-Included PostgreSQL Distribution as an Open-Source & Local-First RDS Alternative

header

Self-Hosting PostgreSQL Like a Pro

Pigsty provides everything you need for a production-ready PostgreSQL deployment.

Reliable Architecture

Create self-healing HA PG clusters without hassle, with pre-configured PITR, built-in ACL, CA, SSL. Pigsty will take care of all the details for you.

architecture

Infrastructure as Code

Declare your entire infra in the inventory, And materialize it in minutes with playbooks. CloudNative experience without docker/k8s.

Stunning Observability

Unparalleled monitoring best practices built upon modern observability (Prometheus & Grafana) stacks. Reuse them and monitoring existing DBMS & cloud RDS.

architecture

Extensions Overwhelming

400+ PGSQL Extensions battery-included! PG Fork RDS: Babelfish, IvorySQL, PolarDB. Self-hosting Supabase, MinIO, Etcd, Redis...

Harness the superpower of 400+ extension combined out of the box.

One command to install them all, IaC for the entire infra & database

IaC, SOP, Your DBA in a nutshell. Run SOTA RDS without expertise.

300+ knobs to tune, scale from 1c devbox to 1000c prod deployment

Run on any BM/VM nodes. Cloud-Exit & Multi-Cloud since day one.

Save up to 50% - 95% compared to the Cloud vendor's RDS offerings.

Run on mainstream Linux distros NATIVELY without docker or k8s

Free & OSS software open-sourced under AGPLv3. No vendor lock-in.

Trusted by the best companies

Pigsty is used by companies of all sizes to manage their PostgreSQL clusters.

TanTan
Linkfog
Bilibili
AirWallex

Loved by people all over the community

Pigsty is used by thousands of users over the world.

Ready to Soar?

$curl https://pigsty.io/pig | bash

PIGSTY