Features
Pigsty’s value propositions and highlight features.
Pigsty’s value propositions and highlight features.
Trade-off analysis for RPO (Recovery Point Objective), finding the optimal balance between availability and data loss.
The origin and motivation of the Pigsty project, its development history, and future goals and vision.
News and events related to Pigsty and PostgreSQL, including latest announcements!
Learn about Pigsty itself in every aspect - features, history, license, privacy policy, community, and news.
Future feature planning, new feature release schedule, and todo list.
Pigsty is a Build in Public project. We are very active on GitHub, and Chinese users are mainly active in WeChat groups.
What user data does Pigsty software and website collect, and how will we process your data and protect your privacy?
Pigsty’s open-source licenses — Apache-2.0 and CC BY 4.0
Pigsty sponsors and investors list - thank you for your support of this project!
Pigsty customer and application cases across various domains and industries
Understand Pigsty’s core concepts, architecture design, learn how high availability, backup recovery, iac, security works
Pigsty Professional/Enterprise subscription service - When you encounter difficulties related to PostgreSQL and Pigsty, our subscription service provides you with comprehensive support.
Answers to frequently asked questions about the Pigsty project itself.
Pigsty’s modular architecture—declarative composition, on-demand customization, flexible deployment.
How Pigsty abstracts different functionality into modules, and the E-R diagrams for these modules.
This article provides cost data to help you evaluate self-hosted Pigsty, cloud RDS costs, and typical DBA salaries.
Impact comparison of PostgreSQL ecosystem projects, mainly measured by GitHub star counts.
Pigsty uses Infrastructure as Code (IaC) philosophy to manage all components, providing declarative management for large-scale clusters.
Pigsty uses Patroni to implement PostgreSQL high availability, ensuring automatic failover when the primary becomes unavailable.
Trade-off analysis for RTO (Recovery Time Objective), finding the optimal balance between recovery speed and false failover risk.
Describe your infrastructure and clusters using declarative configuration files
Use the configure script to automatically generate recommended configuration files based on your environment.
Fine-tune Pigsty customization using configuration parameters
Use pre-made configuration templates to quickly generate configuration files adapted to your environment
Use PostgreSQL as a CMDB metabase to store Ansible inventory.
Pigsty manages authentication, authorization, encryption, audit, backup, and recovery as code, with a clear path from the default baseline to production hardening.
Pigsty trust boundaries and defense in depth, with the admin node as a high-trust control plane and a path from the default baseline to production hardening.
Pigsty manages PostgreSQL and PgBouncer HBA rules declaratively, combining SCRAM passwords and client certificates to define who may connect and how identity is proven.
Pigsty turns least privilege into reusable declarative cluster configuration through a built-in four-tier role model and default privilege templates.
Pigsty provides a self-signed CA that issues certificates and distributes trust for managed components, creating a unified TLS foundation.
Protect PostgreSQL data integrity, recoverability, confidentiality, and traceability with checksums, backup and PITR, encryption, and audit logs.
Compliance combines configuration, process, and evidence. This page covers launch hardening, MLPS and SOC 2 control mappings, supply-chain integrity, and vulnerability response.
Deploy Pigsty single-node version on your laptop/cloud server, access DB and Web UI
Get started with Pigsty—complete single-node install on a fresh Linux host!
Spin up Pigsty in Docker containers for quick testing on macOS/Windows
Explore Pigsty’s Web graphical management interface, Grafana dashboards, and how to access them via domain names and HTTPS.
Express your infra and clusters with declarative config files
Use Ansible playbooks to deploy and manage Pigsty clusters
Install Pigsty in air-gapped env using offline packages
Install only HA PostgreSQL clusters with minimal dependencies
Basic security checks for quick-start and single-node deployments.
Multi-node, high-availability Pigsty deployment for production environments.
How to install Pigsty on Linux hosts for production?
Production deployment preparation including hardware, nodes, disks, network, VIP, domain, software, and filesystem requirements.
How many nodes? Which modules need HA? How to plan based on available resources and requirements?
Admin user, sudo, SSH, accessibility verification, and firewall configuration
4-node sandbox environment for learning, testing, and demonstration
Create local virtual machine environment with Vagrant
Create virtual machine environment on public cloud with Terraform
Credential, network, authentication, encryption, data protection, and audit checks for production Pigsty deployments.
Detailed reference information and lists, supported Linux distros, available modules, metrics, extensions, and more.
This article lists available Pigsty modules and the current module planning.
How Pigsty’s file system structure is designed and organized, and directory structures used by each module.
Batteries-included configuration templates for specific scenarios, with detailed explanations.
Pigsty and PostgreSQL operations documentation index for new users: find the right page by common task.
Frequently asked questions about the Pigsty INFRA infrastructure module
Frequently asked questions about Pigsty etcd module