pgsty/pigsty

Enterprise-Grade OSS PostgreSQL Distribution with HA, PITR, IaC, Monitor, 12 kernel forks and 575 PG extensions. Best-of-breed products integrated as a...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 5 minutes ago
Added to GitGenius on September 12th, 2026
Created on June 2nd, 2020
Open Issues & Pull Requests: 30 (+0)
GitHub issues: Enabled
Number of forks: 382
Total Stargazers: 5,617 (+0)
Total Subscribers: 59 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.2 hours
Mean response time: 5.9 days
90th percentile: 11.6 days
Tracked items: 240

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 50% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "PGSQL" is answered fastest, typically in under an hour, while "HELP" waits about 33 hours. Only 9% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 200 days
Stale 30+ days: 17
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • PGSQL (35)
  • BUG (33)
  • FEATURE (24)
  • MONITOR (17)
  • ENHANCEMENT (16)
  • HELP (16)
  • EXTENSION (15)
  • RELEASE (12)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Pigsty is an enterprise-grade PostgreSQL distribution that bundles high-availability clustering, point-in-time recovery, infrastructure-as-code tooling, and comprehensive monitoring into a self-hosted platform.

The tool addresses the operational complexity of running PostgreSQL at scale by packaging best-of-breed open-source components—including Patroni for HA, pgBackRest for backup and recovery, Victoria Metrics and Grafana for observability, and HAProxy with pgBouncer for connection pooling—into a unified, pre-configured system. Deployment is handled through infrastructure-as-code with Ansible, supporting everything from single-machine setups to multi-node datacenters, with optional Vagrant and OpenTofu integration for cloud-neutral provisioning.

Pigsty suits teams seeking to self-host PostgreSQL with production-grade reliability and observability without adopting Kubernetes or managed cloud databases. It works well for organizations wanting to avoid vendor lock-in, reduce database hosting costs, or maintain full control over their infrastructure. The platform includes bonus modules for Redis, MinIO, Etcd, and other services, making it suitable for polyglot data stacks. The tool explicitly positions itself as an alternative to managed services like RDS, emphasizing cost savings and operational autonomy for teams with the infrastructure expertise to run it.

Development activity shows consistent engagement with regular releases and active community discussion channels. The project maintains comprehensive documentation covering deployment scenarios, administrative procedures, and configuration patterns. Multiple bonus modules and extensions are actively integrated into the core distribution rather than left as external add-ons. The codebase is written primarily in Shell, reflecting its infrastructure-automation focus, and the team provides a public demo environment alongside detailed release notes and architectural documentation.