qmetrics.net

Pigsty

Enterprise open-source PostgreSQL distribution platform

Pigsty screenshot

Pigsty packages PostgreSQL high availability, monitoring, connection pooling, backups, and hundreds of extensions into an Ansible-driven platform. It targets bare-metal or VM Linux hosts from laptops to datacenter fleets.

Overview

Pigsty assembles Patroni HA clusters, PgBouncer pooling, HAProxy routing, pgBackrest backups, and Victoria Metrics plus Grafana observability into modular playbooks you enable as needed. Optional modules add Redis, MinIO, etcd, Docker, Supabase, DuckDB, and related infrastructure pieces.

The distribution ships multiple PostgreSQL kernel variants—vanilla PGDG builds, Citus, Babelfish, IvorySQL, OpenHalo, and others—as drop-in replacements behind the same operations tooling. Inventory YAML describes clusters, users, databases, and services for repeatable provisioning.

Installation flows include a curl-based get script, the pig CLI, or cloning tagged source and running deploy.yml with passwordless sudo. A single-node deploy exposes HTTPS admin UI and PostgreSQL on default ports, while multi-node inventories scale out etcd-backed HA.

Compatibility targets mainstream x86_64 and aarch64 Linux LTS releases with versioned offline package archives per distro minor release.

Key features

  • Ansible playbooks for full stack deploy
  • Patroni HA with PITR backups
  • PgBouncer and HAProxy service routing
  • Grafana and Victoria metrics stack
  • 626 bundled Postgres extensions
  • Optional Redis, MinIO, and Supabase modules
  • Docker-based dev sandbox

Use cases

  • Self-host production-grade Postgres clusters
  • Run Supabase or Odoo on managed RDS-style Postgres
  • Stand up observability for database fleets
  • Test HA topologies on a laptop via Docker

Does the same job as

Pigsty doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Pigsty

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

  • Dedicated Postgres per project
  • Built-in authentication and RLS
  • Auto-generated REST and GraphQL APIs
TypeScriptDetails →
★ 115.9k⟳ todayApache-2.0
Open Source Alternative to:Amazon AuroraFirebase+1

Coolify

Self-hostable PaaS for apps, databases, and one-click services

Coolify deploys static sites, databases, and full-stack apps on servers you control, with a dashboard similar to managed hosting platforms. Configurations stay on your machines over SSH.

  • Git and Docker-based deployments
  • Automatic HTTPS and custom domains
  • One-click databases and services
PHPWeb, Linux, DockerDetails →
★ 67.7k⟳ todayApache-2.0
Open Source Alternative to:Fly.ioHeroku+4

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

  • Spreadsheet-style grid and alternate views
  • Connect Postgres, MySQL, or SQLite
  • Role-based access and locked views
TypeScriptDockerDetails →
★ 65.7k⟳ todaySource-available
DatabasesSelf-hostable
Alternative to:AirtableGoogle Sheets+1

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

  • Strongly consistent Raft replication
  • gRPC and HTTP key-value API
  • Watch keys and directories for changes
GoLinux, macOS, Windows, DockerDetails →
★ 52.7k⟳ yesterdayApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

  • SQL and schema editors
  • Data grid editing
  • ER diagram modeling
JavaLinux, macOS, WindowsDetails →
★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+4

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

  • Column-oriented OLAP storage
  • Real-time analytical SQL queries
  • High compression for large datasets
C++Linux, macOSDetails →
★ 51.4k⟳ todayApache-2.0
Open Source Alternative to:Amazon RedshiftBigQuery+1