Managing PostgreSQL Clusters
Create/destroy PostgreSQL clusters, scale existing clusters, and clone clusters.
Create/destroy PostgreSQL clusters, scale existing clusters, and clone clusters.
User management - create, modify, delete users, manage role membership, connection pool config
Database management - create, modify, delete, rebuild, and clone databases using templates
Manage PostgreSQL cluster HA with Patroni, including config changes, status check, switchover, restart, and reinit replica.
Manage Pgbouncer connection pool, including pause, resume, disable, enable, reconnect, kill, and reload operations.
Use systemctl to manage PostgreSQL cluster component services - start, stop, restart, reload, and status check.
Extension management - download, install, configure, enable, update, and remove extensions
Version upgrade - minor version rolling upgrade, major version migration, extension upgrade
Pigsty uses pgBackRest to implement PostgreSQL point-in-time recovery, allowing users to roll back to any point in time within the backup policy window.
Self-hosting bytebase with PostgreSQL managed by Pigsty
Launch pgAdmin4 with docker, and load Pigsty server list into it
Standard Operating Procedures (SOP) for database administration tasks
Design backup policies according to your needs
Backup scripts, cron jobs, backup repository and infrastructure
PostgreSQL backup storage repository configuration
Managing backup repositories and backups
Restore PostgreSQL from backups
How to use PITR to create a new PostgreSQL cluster and restore to a specified point in time?
Clone instances and perform point-in-time recovery on the same machine
How to clone an existing database within a PostgreSQL cluster using instant XFS cloning
Point-in-Time Recovery (PITR) Backup and Restore
Common failures and analysis troubleshooting approaches
How to migrate an existing PostgreSQL cluster to a new Pigsty-managed PostgreSQL cluster with minimal downtime?
Manually perform PITR following prompt scripts in sandbox environment
Enabling HugePage for PostgreSQL to reduce memory fragmentation and improve performance.
Handling accidental data deletion, table deletion, and database deletion
How to manage PostgreSQL clusters with Ansible playbooks
HA scenario response plan: When two of three nodes fail and auto-failover doesn’t work, how to recover from the emergency state?
How to deploy a Citus high-availability distributed cluster?
How to use built-in Ansible playbooks to manage the INFRA module, with a quick reference for common commands.
Infrastructure components and INFRA cluster administration SOP: create, destroy, scale out, scale in, certificates, repositories…
Using Ansible to run administration commands
Built-in Ansible playbooks in Pigsty
Nginx management, web portal configuration, web server, upstream services
Managing local APT/YUM software repositories
Configure local or public domain names to access Pigsty services.
INFRA module management SOP: define, create, destroy, scale out, scale in
Using self-signed CA or real HTTPS certificates
How to use built-in Ansible playbooks to manage NODE clusters, with a quick reference for common commands.
Node cluster management SOP - create, destroy, expand, shrink, and handle node/disk failures
etcd cluster management SOP: create, destroy, scale, config, and RBAC.
Manage etcd clusters with Ansible playbooks and quick command reference.
Manage MinIO clusters with Ansible playbooks and quick command reference.
MinIO cluster management SOP: create, destroy, expand, shrink, and handle node and disk failures.
Manage Redis clusters with Ansible playbooks and quick command reference.
Redis cluster management SOPs for creating, destroying, scaling, and configuring high availability
Use PostgreSQL instead of SQLite as Grafana’s remote storage backend for better performance and availability.
Create, remove, expand, shrink, and upgrade FerretDB clusters
Ansible playbooks available for the FERRET module
How to use the built-in Ansible playbook to manage Docker and quick reference for common management commands.
How to download and install the pig package manager