Annotate Command (annotate)
Reference for pgBackRest annotate command options and behavior.
Reference for pgBackRest annotate command options and behavior.
Choose the appropriate instance and cluster types based on your requirements to configure PostgreSQL database clusters that meet your needs.
Dynamic configuration settings stored in DCS and applied cluster-wide.
Pigsty’s value propositions and highlight features.
Learn the parameter optimization strategies Pigsty uses for the 4 different PostgreSQL workload scenarios.
Complete reference for Patroni YAML configuration options and sections.
Reference for pgBackRest archive-get command options and behavior.
PgBouncer configuration file (pgbouncer.ini) reference
The origin and motivation of the Pigsty project, its development history, and future goals and vision.
How to choose the appropriate PostgreSQL kernel and major version.
PostgreSQL config template optimized for online transaction processing workloads
Reference for pgBackRest archive-push command options and behavior.
Environment variables for overriding Patroni configuration parameters.
News and events related to Pigsty and PostgreSQL, including latest announcements!
PostgreSQL config template optimized for online analytical processing workloads
Pigsty provides a package alias translation mechanism that shields the differences in binary package details across operating systems, making installation easier.
Patroni configuration model, precedence rules, and validation tooling.
Reference for pgBackRest backup command options and behavior.
pgBackRest command reference with all options for backup, restore, archive, and management operations.
PostgreSQL parameter template for consistency-first workloads, with strict synchronous replication, data checksums, and detailed connection logging.
Reference for Patroni REST API endpoints and operational behaviors.
pig — PostgreSQL Package Manager Release Notes
How to define and customize PostgreSQL users and roles through configuration?
Reference for pgBackRest check command options and behavior.
Complete pgBackRest configuration reference for all settings including archive, backup, repository, and cloud storage options.
How to define and customize PostgreSQL databases through configuration?
PgBouncer source releases and binary packages
Command reference for patronictl configuration, syntax, and subcommands.
PostgreSQL config template optimized for micro instances and resource-constrained environments
Reference for pgBackRest expire command options and behavior.
Configuration reference for PostgreSQL and PgBouncer Host-Based Authentication (HBA) rules in Pigsty.
pgBackRest release history with detailed changelog for every version.
Configuration reference for Pigsty built-in roles, users, default privileges, and database ACLs.
PgBouncer version history and release notes
Frequently asked questions about pgBackRest backup, restore, configuration, and troubleshooting.
Reference for pgBackRest help command options and behavior.
Configure PostgreSQL parameters at cluster, instance, database, and user levels
Reference for pgBackRest info command options and behavior.
PgBouncer frequently asked questions
Reference for pgBackRest repo-get command options and behavior.
pig CLI command reference overview
Reference for pgBackRest repo-ls command options and behavior.
Manage software repositories with pig repo
Reference for pgBackRest restore command options and behavior.
Manage PostgreSQL extensions with pig ext
Reference for pgBackRest server command options and behavior.
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.
Build PostgreSQL extensions from source with pig build
What user data does Pigsty software and website collect, and how will we process your data and protect your privacy?
Reference for pgBackRest server-ping command options and behavior.
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!
Reference for pgBackRest stanza-create command options and behavior.
Pigsty customer and application cases across various domains and industries
Manage Pigsty installation with pig sty
Reference for pgBackRest stanza-delete command options and behavior.
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.
Manage local PostgreSQL server with pig postgres subcommand
Pigsty historical version release notes
Reference for pgBackRest stanza-upgrade command options and behavior.
This article compares Pigsty with similar products and projects, highlighting feature differences.
Manage Patroni service and cluster with pig patroni subcommand
Reference for pgBackRest start command options and behavior.
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.
Frequently asked questions about Patroni operation and troubleshooting.
Manage pgBackRest backup and restore primitives with pig pgbackrest
Reference for pgBackRest stop command options and behavior.
Perform orchestrated point-in-time recovery (PITR) with pig pitr
Chronological Patroni release notes and change history.
Reference for pgBackRest verify command options and behavior.
Reference for pgBackRest version command options and behavior.
Default single-node installation template with extensive configuration parameter descriptions
Feature-rich single-node configuration with local software repository, all extensions, MinIO backup, and complete examples
Minimal installation template without monitoring infrastructure, installs PostgreSQL directly from internet
Feature-All-Test template, single-node installation of all extensions, builds local repo with PG 14-18 all versions
Only installs observability infrastructure, dedicated template without PostgreSQL and etcd
VIBE AI coding sandbox config template, integrating Code-Server, JupyterLab, Claude Code, Codex CLI, and JuiceFS
Pigsty Docker single-node template for quickly bootstrapping Pigsty in containers.
Native PostgreSQL kernel, supports deployment of PostgreSQL versions 14 to 18
Single-node PostgreSQL 19 Beta evaluation template with the PGDG Beta repository and a minimal runtime
Babelfish template pinned to a PostgreSQL 17-compatible kernel with SQL Server protocol and T-SQL support
PolarDB for PostgreSQL kernel, provides Aurora-style storage-compute separation capability
Placeholder for the Cloudberry config template (not yet available).
IvorySQL kernel, provides Oracle syntax and PL/SQL compatibility
AgensGraph kernel template with property graph model and Cypher query support
Detailed reference information and lists, supported Linux distros, available modules, metrics, extensions, and more.
Pigsty compatible Linux OS distribution major versions and CPU architectures
This article lists available Pigsty modules and the current module planning.
pgEdge kernel template for distributed multi-master PostgreSQL in edge scenarios
This page lists PostgreSQL extensions supported by Pigsty and their availability overview.
How Pigsty’s file system structure is designed and organized, and directory structures used by each module.
OpenHalo kernel, provides MySQL protocol and syntax compatibility
Pigsty v4.x configuration overview and module parameter navigation
Percona PostgreSQL kernel, provides Transparent Data Encryption (pg_tde) capability
Pigsty v4.x preset Ansible playbook navigation and execution notes
OrioleDB kernel, provides bloat-free OLTP enhanced storage engine
Default ports used by Pigsty components, with related parameters and status.
DocumentDB + FerretDB template providing Mongo wire compatibility on PostgreSQL.
Pigsty application templates and data applets: run stateless apps with Docker Compose and host state in external PostgreSQL and MinIO.
Self-host enterprise-grade Supabase with Pigsty, featuring monitoring, high availability, PITR, IaC, and 555 PostgreSQL extensions.
How to spin up an out-of-the-box enterprise application suite Odoo and use Pigsty to manage its backend PostgreSQL database.
How to self-host the AI Workflow LLMOps platform — Dify, using external PostgreSQL, PGVector, and Redis for storage with Pigsty?
Self-host InsForge OSS with Pigsty and let Pigsty manage PostgreSQL, backups, monitoring, and ingress.
Self-host Hindsight with Pigsty and store long-term memory in external PostgreSQL.
Self-host Teable with Pigsty, external PostgreSQL, and MinIO.
Deploy Gitea with Pigsty’s Compose template and connect it to external PostgreSQL.
Use NocoDB to transform PostgreSQL databases into smart spreadsheets, a no-code database application platform.
Deploy Mattermost with Pigsty and store state in external PostgreSQL.
How to self-hosting your own wikipedia with Wiki.js and use Pigsty managed PostgreSQL as the backend database
Batteries-included configuration templates for specific scenarios, with detailed explanations.
Self-host the Maybe personal finance application with Pigsty and let Pigsty manage PostgreSQL, backups, monitoring, and ingress.
Self-host Immich, the open-source Google Photos alternative, with Pigsty managing its metadata, vector search, backups, and ingress.
Deploy Kong with Pigsty Compose templates and PostgreSQL backend storage.
20-node production environment simulation for large-scale deployment testing
Use Metabase for rapid business intelligence analysis with a user-friendly interface for team self-service data exploration.
Deploy a Docker Registry pull-through cache and optional web UI with Pigsty.
Self-host JumpServer Community Edition with Pigsty managing its PostgreSQL backend, backups, ingress, and operations.
Four-node complete feature demonstration environment with two PostgreSQL clusters, MinIO, Redis, etc.
Pigsty and PostgreSQL operations documentation index for new users: find the right page by common task.
Three-node high-availability and security-hardening configuration example.
Deploy PostgREST with Pigsty Compose templates and auto-generate REST APIs from PostgreSQL schema.
Three-node standard HA configuration, tolerates any single server failure
Launch pgweb to access PostgreSQL via web browser
Self-host Electric with Pigsty to sync PostgreSQL data to frontend apps with partial replication and real-time delivery.
Two-node configuration, limited HA deployment tolerating specific server failure
13-node Citus distributed PostgreSQL cluster, 1 coordinator + 5 worker groups with HA
Run Jupyter Lab in container, and access PostgreSQL database
A sample Applet included with Pigsty for analyzing PostgreSQL CSV log samples
Demonstrate how to import data into a database using the ISD dataset as an example
A sample Applet included with Pigsty for visualizing World Health Organization official pandemic data
Analyze database-related data from StackOverflow’s global developer survey over the past seven years
Analyze database management systems on DB-Engines and browse their popularity evolution
Analyze compute and storage pricing on Aliyun / AWS (ECS/ESSD)
Self-host Supabase using Pigsty-managed PostgreSQL, an open-source Firebase alternative
Deploy Odoo open-source ERP system using Pigsty-managed PostgreSQL
Deploy Dify AI application development platform using Pigsty-managed PostgreSQL
Deploy Electric real-time sync service using Pigsty-managed PostgreSQL
Deploy Maybe personal finance management system using Pigsty-managed PostgreSQL
Deploy Teable open-source Airtable alternative using Pigsty-managed PostgreSQL
Mattermost template for one-click team collaboration deployment with Pigsty PostgreSQL and Docker.
Deploy Docker Registry image proxy and private registry using Pigsty
Deploy the InsForge Backend-as-a-Service platform with Pigsty-managed PostgreSQL
Deploy the Hindsight AI long-term memory service with Pigsty-managed PostgreSQL
Deploy Immich photo and video management with Pigsty-managed PostgreSQL and VectorChord
Deploy the JumpServer open-source bastion host with Pigsty-managed PostgreSQL
Deploy and manage world’s most advanced open-source relational database — PostgreSQL, customizable and production-ready!
Minimal readable configuration declaring only INFRA, ETCD, and single-node PostgreSQL
Configuration template optimized for Enterprise Linux (RHEL/Rocky/Alma)
Configuration template optimized for Debian/Ubuntu
Pigsty public demo site configuration, showcasing SSL certificates, domain exposure, and full extension installation
Ten-node PostgreSQL kernel matrix demo configuration
Four-node x four-drive high-availability multi-node multi-disk MinIO cluster demo
Four-node demo of Redis replica, Sentinel, and native Cluster modes
Pigsty open-source edition offline package build environment configuration
Pigsty three-node local build and development configuration
Monitor remote PostgreSQL and cloud RDS with pg_exporter instances on an INFRA node
Legacy single-node SaaS bundle with PostgreSQL, MinIO, Redis, and multiple application entrypoints
Single-node tiny-tuning example for small cloud instances in China
Choose the appropriate instance and cluster types based on your requirements to configure PostgreSQL database clusters that meet your needs.
Split read and write operations, route traffic correctly, and reliably deliver PostgreSQL cluster capabilities.
Entry points for PostgreSQL authentication, access control, encrypted communication, data protection, and secure operations.
Separate read and write operations, route traffic correctly, and deliver PostgreSQL cluster capabilities reliably.
Entry points for PostgreSQL access-control concepts, configuration, and administration.
Point-in-Time Recovery (PITR) Backup and Restore
Users/roles refer to logical objects within a database cluster created using the SQL commands CREATE USER/ROLE.
Database refers to the logical object created using the SQL command CREATE DATABASE within a database cluster.
Detailed explanation of Host-Based Authentication (HBA) in Pigsty.
How to migrate an existing PostgreSQL cluster to a new Pigsty-managed PostgreSQL cluster with minimal downtime?
Overview of Pigsty’s monitoring system architecture and how to monitor existing PostgreSQL instances
Pigsty provides numerous out-of-the-box Grafana monitoring dashboards for PostgreSQL
Pigsty provides many out-of-the-box Grafana monitoring dashboards for PostgreSQL
Complete monitoring metrics reference for the Pigsty PGSQL module
Complete list and explanation of monitoring metrics provided by the Pigsty PGSQL module
Customize PostgreSQL clusters with 120 parameters in the PGSQL module
Harness the synergistic power of PostgreSQL extensions
Use Pigsty’s built-in Patroni config templates or customize your own
How to use PostgreSQL kernel forks in Pigsty, such as Citus, Babelfish, IvorySQL, PolarDB, and more.
Core concepts of PostgreSQL extensions and the Pigsty extension ecosystem
Extension package aliases and category naming conventions
Download extension packages from software repositories to local
Preload extension libraries and configure extension parameters
Create and enable extensions in databases
Upgrade PostgreSQL extension versions
Uninstall PostgreSQL extensions
PostgreSQL extensions installed by default in Pigsty
Frequently asked questions about PostgreSQL
Pigsty extension software repository configuration
Miscellaneous Topics
Optional standalone infrastructure that provides NTP, DNS, observability and other foundational services for PostgreSQL.
How to configure INFRA nodes? Customize Nginx, local repo, DNS, NTP, monitoring components.
INFRA module provides 10 sections with 70+ configurable parameters
How to perform self-monitoring of infrastructure in Pigsty?
Complete list of monitoring metrics provided by the Pigsty INFRA module
Frequently asked questions about the Pigsty INFRA infrastructure module
Infrastructure components and INFRA cluster administration SOP: create, destroy, scale out, scale in, certificates, repositories…
Tune nodes into the desired state and monitor it, manage node, VIP, HAProxy, and exporters.
Configure node identity, cluster, and identity borrowing from PostgreSQL
NODE module provides 11 sections with 85 parameters
Monitor NODE in Pigsty with dashboards and alerting rules
Complete list of monitoring metrics provided by Pigsty NODE module
Frequently asked questions about Pigsty NODE module
Pigsty deploys etcd as DCS for reliable distributed config storage, supporting PostgreSQL HA.
Choose etcd cluster size based on requirements, provide reliable access.
ETCD module provides 13 configuration parameters for fine-grained control over cluster behavior.
etcd monitoring dashboards, metrics, and alert rules.
Complete monitoring metrics list provided by Pigsty ETCD module
Frequently asked questions about Pigsty etcd module
Pigsty has built-in MinIO support, an open-source S3-compatible object storage that can be used for PGSQL cold backup storage.
Getting started: how to use MinIO? How to reliably access MinIO? How to use mc / rclone client tools?
Choose the appropriate MinIO deployment type based on your requirements and provide reliable access.
MinIO module provides 21 configuration parameters for customizing your MinIO cluster.
How to monitor MinIO in Pigsty? How to use MinIO’s built-in console? What alerting rules are worth noting?
Complete list of monitoring metrics provided by the Pigsty MINIO module with explanations
Frequently asked questions about the Pigsty MINIO object storage module
Built-in support for Redis in standalone, cluster, or sentinel mode as a high-performance open-source cache companion to PostgreSQL.
Choose the appropriate Redis mode for your use case and express your requirements through the inventory
REDIS module provides 18 deployment parameters + 3 removal parameters
How to monitor Redis? What alert rules are worth paying attention to?
Complete list of monitoring metrics provided by the Pigsty REDIS module with explanations
Frequently asked questions about the Pigsty REDIS module
Add MongoDB-compatible protocol support to PostgreSQL using FerretDB
Install client tools, connect to and use FerretDB
Configure the FerretDB module and define cluster topology
Customize FerretDB with 9 parameters
Monitoring dashboards and alerting rules for the FerretDB module
Complete list of monitoring metrics provided by the FerretDB module
Frequently asked questions about FerretDB and DocumentDB modules
Docker daemon service that enables one-click deployment of containerized stateless software templates and additional functionality.
Docker module quick start guide - installation, removal, download, repository, mirrors, proxy, and image pulling.
DOCKER module provides 8 configuration parameters
Complete list of monitoring metrics provided by the Pigsty Docker module
Frequently asked questions about the Pigsty Docker module
Use JuiceFS distributed filesystem with PostgreSQL metadata to provide shared POSIX storage.
JUICE module configuration, instance definition, storage backends, and mount options.
JUICE module parameters (2 total).
JUICE module monitoring and metrics.
JUICE module frequently asked questions.
Deploy an AI coding sandbox with Pigsty: Code-Server, JupyterLab, Node.js, Claude Code, and Codex CLI.
VIBE module configuration for Code-Server, JupyterLab, Node.js, Claude Code, and Codex CLI.
VIBE module parameters (18 total).
VIBE monitoring, focusing on Claude Code observability.
VIBE module frequently asked questions.
Deploy, secure, and monitor Apache Kafka 4.1+ dynamic KRaft clusters with Pigsty.
Plan Kafka dynamic KRaft topology, identity, network, storage, security, and declarative resources.
15 persistent public parameters and transient protected operational variables of the KAFKA module.
Kafka metrics collection, Grafana dashboards, log queries, and alerting rules.
Kafka JMX, protocol exporter, and recording rule metrics dictionary.
Frequently asked questions about the Pigsty Kafka 4.1+ dynamic KRaft module.
Extra modules in pilot development.
Deploy Code-Server with Pigsty, run VS Code in browser for cloud development.
Deploy a MySQL 8.0 cluster with Pigsty for demonstration or benchmarking purposes.
Install DuckDB, a high-performance embedded analytical database component.
Deploy TigerBeetle, the Financial Transactions Database that is 1000x faster.
Deploy Kubernetes, the Production-Grade Container Orchestration Platform.
Deploy Consul, the alternative to Etcd, with Pigsty.
pigsty-infra repository changelog and observability package release notes
PostgreSQL and Extension RPM package changelog and release notes
PostgreSQL and Extension DEB package changelog and release notes