11# PIGSTY - Self-Hosting PostgreSQL like a Pro
22
3- [ ![ Webite : pigsty.io] ( https://img.shields.io/badge/website-pigsty.io-slategray?style=flat&logo=cilium&logoColor=white )] ( https://pigsty.io )
3+ [ ![ Website : pigsty.io] ( https://img.shields.io/badge/website-pigsty.io-slategray?style=flat&logo=cilium&logoColor=white )] ( https://pigsty.io )
44[ ![ 网站: pigsty.cc] ( https://img.shields.io/badge/网站-pigsty.cc-slategray?style=flat&logo=cilium&logoColor=white )] ( https://pigsty.cc )
55[ ![ Version: v4.1.0] ( https://img.shields.io/badge/version-v4.1.0-slategray?style=flat&logo=cilium&logoColor=white )] ( https://github.com/pgsty/pigsty/releases/tag/v4.1.0 )
66[ ![ License: Apache-2.0] ( https://img.shields.io/github/license/pgsty/pigsty?logo=opensourceinitiative&logoColor=green&color=slategray )] ( https://pigsty.io/docs/about/license/ )
77[ ![ GitHub Stars] ( https://img.shields.io/github/stars/pgsty/pigsty?style=flat&logo=github&logoColor=black&color=slategray )] ( https://star-history.com/#pgsty/pigsty&Date )
8- [ ![ Extensions: 448 ] ( https://img.shields.io/badge/extensions-448 -%233E668F?style=flat&logo=postgresql&logoColor=white&labelColor=3E668F )] ( https://pgext.cloud/list )
8+ [ ![ Extensions: 451 ] ( https://img.shields.io/badge/extensions-451 -%233E668F?style=flat&logo=postgresql&logoColor=white&labelColor=3E668F )] ( https://pgext.cloud/list )
99[ ![ Ask DeepWiki] ( https://deepwiki.com/badge.svg )] ( https://deepwiki.com/pgsty/pigsty )
1010
11- Battery-Included, Local-First ** PostgreSQL** Distribution as a Free & Better ** RDS** Alternative !
11+ Battery-Included, Local-First ** PostgreSQL** Distribution as a Free & Better ** RDS** !
1212
1313> "** P** ostgreSQL ** I** n ** G** reat ** STY** le": ** P** ostgres, ** I** nfras, ** G** raphics, ** S** ervice, ** T** oolbox, it's all ** Y** ours.
1414
@@ -25,7 +25,7 @@ curl -fsSL https://repo.pigsty.io/get | bash -s v4.1.0
2525
2626## Features
2727
28- - ** Extensible** : ** 448 ** [ ** PG Extensions** ] ( https://pgext.cloud/list ) & ** 9 ** [ ** PG Kernel** ] ( https://pigsty.io/docs/pgsql/kernel ) available, with [ ** MsSQL** ] ( https://pigsty.io/docs/pgsql/kernel/babelfish ) , [ ** Oracle** ] ( https://pigsty.io/docs/pgsql/kernel/ivorysql ) , [ ** MySQL** ] ( https://pigsty.io/docs/pgsql/kernel/openhalo ) , [ ** Mongo** ] ( https://pigsty.io/docs/ferret ) compatibility.
28+ - ** Extensible** : ** 451 ** [ ** PG Extensions** ] ( https://pgext.cloud/list ) & ** 10 ** [ ** PG Kernel** ] ( https://pigsty.io/docs/pgsql/kernel ) available, with [ ** MsSQL** ] ( https://pigsty.io/docs/pgsql/kernel/babelfish ) , [ ** Oracle** ] ( https://pigsty.io/docs/pgsql/kernel/ivorysql ) , [ ** MySQL** ] ( https://pigsty.io/docs/pgsql/kernel/openhalo ) , [ ** Mongo** ] ( https://pigsty.io/docs/ferret ) compatibility.
2929- ** Reliable** : Self-healing [ ** HA** ] ( https://pigsty.io/docs/concept/ha ) clusters with pre-configured [ ** PITR** ] ( https://pigsty.io/docs/pgsql/backup ) and built-in [ ** ACL** ] ( https://pigsty.io/docs/pgsql/config/acl ) , [ ** CA & SSL** ] ( https://pigsty.io/docs/infra/admin/cert ) secure best practice.
3030- ** Observable** : SOTA monitoring for [ ** PG** ] ( https://demo.pigsty.io/ui/d/pgrds-instance/pgrds-instance ) / [ ** Infra** ] ( https://pigsty.io/docs/infra ) / [ ** Node** ] ( https://pigsty.io/docs/node ) based on ** Victoria** & ** Grafana** stack: [ ** Demo** ] ( https://demo.pigsty.io ) & [ ** Gallery** ] ( https://github.com/pgsty/pigsty/wiki/Gallery ) .
3131- ** Scalable** : Auto-routed & pooled customizable database [ ** Services** ] ( https://pigsty.io/docs/pgsql/service ) [ ** Access** ] ( https://pigsty.io/docs/pgsql/service#access-service ) with ** haproxy** , ** pgbouncer** , and ** VIP** .
@@ -38,7 +38,7 @@ You can even use exotic [**PG kernel forks**](https://pigsty.io/docs/pgsql/kerne
3838
3939| Kernel | Key Feature | Description |
4040| ------------------------------------------------------------| :--------------------------------| ------------------------------------------------|
41- | [ PostgreSQL] ( https://pigsty.io/docs/pgsql/kernel/postgres ) | ** Extension Overwhelming** | Vanilla PostgreSQL with 448 extensions |
41+ | [ PostgreSQL] ( https://pigsty.io/docs/pgsql/kernel/postgres ) | ** Extension Overwhelming** | Vanilla PostgreSQL with 451 extensions |
4242| [ Citus] ( https://pigsty.io/docs/pgsql/kernel/citus ) | ** Horizontal Scaling** | Distributive PostgreSQL via native extension |
4343| [ WiltonDB] ( https://pigsty.io/docs/pgsql/kernel/babelfish ) | ** SQL Server Migration** | Microsoft SQL Server wire-compatibility |
4444| [ IvorySQL] ( https://pigsty.io/docs/pgsql/kernel/ivorysql ) | ** Oracle Migration** | Oracle Grammar and PL/SQL compatible |
@@ -49,14 +49,14 @@ You can even use exotic [**PG kernel forks**](https://pigsty.io/docs/pgsql/kerne
4949| [ PolarDB] ( https://pigsty.io/docs/pgsql/kernel/polardb ) | ** Aurora flavor RAC** | RAC, China domestic compliance |
5050| [ Supabase] ( https://pigsty.io/docs/app/supabase ) | ** Backend as Service** | BaaS based on PostgreSQL, Firebase alternative |
5151
52- And gather the synergistic superpowers of all [ ** 448 + PostgreSQL Extensions** ] ( https://pgext.cloud/list ) all together:
52+ And gather the synergistic superpowers of all [ ** 451 + PostgreSQL Extensions** ] ( https://pgext.cloud/list ) all together:
5353
5454[ ![ ecosystem] ( https://github.com/user-attachments/assets/c952441e-5ff7-4acb-aace-dd3021d28622 )] ( https://pgext.cloud )
5555
5656
5757## Get Started
5858
59- [ ![ Postgres: 18.1 ] ( https://img.shields.io/badge/PostgreSQL-18.1 -%233E668F?style=flat&logo=postgresql&labelColor=3E668F&logoColor=white )] ( https://pigsty.io/docs/pgsql )
59+ [ ![ Postgres: 18.2 ] ( https://img.shields.io/badge/PostgreSQL-18.2 -%233E668F?style=flat&logo=postgresql&labelColor=3E668F&logoColor=white )] ( https://pigsty.io/docs/pgsql )
6060[ ![ Linux] ( https://img.shields.io/badge/Linux-AMD64-%23FCC624?style=flat&logo=linux&labelColor=FCC624&logoColor=black )] ( https://pigsty.io/docs/node )
6161[ ![ Linux] ( https://img.shields.io/badge/Linux-ARM64-%23FCC624?style=flat&logo=linux&labelColor=FCC624&logoColor=black )] ( https://pigsty.io/docs/node )
6262[ ![ EL Support: 8/9/10] ( https://img.shields.io/badge/EL-8/9/10-red?style=flat&logo=redhat&logoColor=red )] ( https://pigsty.io/docs/ref/linux#el )
@@ -102,24 +102,24 @@ pig sty deploy # run the deploy.yml playbook
102102<details ><summary >Install with get script</summary ><br >
103103
104104``` bash
105- [root@pg-meta ~ ]# curl -fsSL https://repo.pigsty.io/get | bash -s v4.0 .0
106- [v4.0 .0] ===========================================
105+ [root@pg-meta ~ ]# curl -fsSL https://repo.pigsty.io/get | bash -s v4.1 .0
106+ [v4.1 .0] ===========================================
107107$ curl -fsSL https://repo.pigsty.io/get | bash
108108[Docs] https://pigsty.io/docs
109109[Demo] https://demo.pigsty.io
110110[Repo] https://github.com/pgsty/pigsty
111111[Download] ===========================================
112- [ OK ] version = v4.0 .0 (from arg)
113- curl -fSL https://repo.pigsty.io/src/pigsty-v4.0 .0.tgz -o /tmp/pigsty-v4.0 .0.tgz
112+ [ OK ] version = v4.1 .0 (from arg)
113+ curl -fSL https://repo.pigsty.io/src/pigsty-v4.1 .0.tgz -o /tmp/pigsty-v4.1 .0.tgz
114114# ####################################################################### 100.0%
115- [ OK ] md5sums = 53cb5980f999f661fbb832d7ee2fc93a /tmp/pigsty-v4.0 .0.tgz
115+ [ OK ] md5sums = 53cb5980f9XXXXX1fbb832d7ee2fc93a /tmp/pigsty-v4.1 .0.tgz
116116[Install] ===========================================
117117[WARN] os user = root , it' s recommended to use a non-root sudo-able admin
118- [ OK ] install = /root/pigsty, from /tmp/pigsty-v4.0 .0.tgz
118+ [ OK ] install = /root/pigsty, from /tmp/pigsty-v4.1 .0.tgz
119119
120120[Bootstrap] ===========================================
121121[WARN] ansible = not found, bootstrap
122- bootstrap pigsty v4.0 .0 begin
122+ bootstrap pigsty v4.1 .0 begin
123123[ OK ] region = china
124124[ OK ] kernel = Linux
125125[ OK ] machine = x86_64
@@ -515,7 +515,7 @@ pg-citus: # citus group
515515
516516
517517You can deploy different kinds of PostgreSQL instance such as [`primary`](https://pigsty.io/docs/pgsql/config/cluster#primary), [`replica`](https://pigsty.io/docs/pgsql/config/cluster#replica), [`offline`](https://pigsty.io/docs/pgsql/config/cluster#offline), [`delayed`](https://pigsty.io/docs/pgsql/config/cluster#delayed), [`sync standby`](https://pigsty.io/docs/pgsql/config/cluster#sync-standby), etc.,
518- and customize with scene-optimize [**config templates**](https://pigsty.io/docs/concept/iac/template) and all **448 ** [**extensions**](https://pgext.cloud/list) out-of-the-box.
518+ and customize with scene-optimize [**config templates**](https://pigsty.io/docs/concept/iac/template) and all **451 ** [**extensions**](https://pgext.cloud/list) out-of-the-box.
519519
520520You can define [**Users**](https://pigsty.io/docs/pgsql/config/user), [**Databases**](https://pigsty.io/docs/pgsql/config/db), [**Service**](https://pigsty.io/docs/pgsql/service), [**HBAs**](https://pigsty.io/docs/pgsql/config/hba) and other entities with code and provision them in one pass.
521521
@@ -603,7 +603,7 @@ There are other pro, beta, or pilot modules, and there will be more coming in th
603603[](https://pigsty.io/docs/pgsql/kernel/openhalo)
604604[](https://pigsty.io/docs/pgsql/kernel/supabase)
605605[](https://pigsty.io/docs/pilot/kafka)
606- [](https://pigsty.io/docs/pilot/kafka )
606+ [](https://pigsty.io/docs/pilot/mysql )
607607[](https://pigsty.io/docs/pilot/duckdb)
608608[](https://pigsty.io/docs/pilot/tigerbeetle)
609609[](https://pigsty.io/docs/pilot/victoria)
@@ -617,20 +617,19 @@ There are other pro, beta, or pilot modules, and there will be more coming in th
617617
618618# # Compatibility
619619
620- We recommend using RockyLinux 10.1, Debian 13.2 , and Ubuntu 24.04.2 for production use.
620+ We recommend using RockyLinux 10.1 / 9.7 , Debian 13.3 / 12.13 , and Ubuntu 24.04.3 / 22.04.5 for production use.
621621
622622Pigsty runs on bare linux directly, and focuses on active maintained mainstream LTS [**Linux Distros**](https://pigsty.io/docs/ref/linux) :
623623
624- | Code | Distro | `x86_64` | Status | `aarch64` | Status |
625- |:--------:|-----------------------------------|:---------------------------------------------------:|:-------|:-----------------------------------------------------:|:-------|
626- | **EL10** | RHEL 10 / Rocky10 / Alma10 / ... | [`el10.x86_64`](roles/node_id/vars/el10.x86_64.yml) | ✅📦 | [`el10.aarch64`](roles/node_id/vars/el10.aarch64.yml) | ✅📦 |
627- | **EL9** | RHEL 9 / Rocky9 / Alma9 / ... | [`el9.x86_64`](roles/node_id/vars/el9.x86_64.yml) | ✅📦 | [`el9.aarch64`](roles/node_id/vars/el9.aarch64.yml) | ✅📦 |
628- | **EL8** | RHEL 8 / Rocky8 / Alma8 / Anolis8 | [`el8.x86_64`](roles/node_id/vars/el8.x86_64.yml) | ✅📦 | [`el8.aarch64`](roles/node_id/vars/el8.aarch64.yml) | ✅📦 |
629- | **U24** | Ubuntu 24.04 (noble) | [`u24.x86_64`](roles/node_id/vars/u24.x86_64.yml) | ✅📦 | [`u24.aarch64`](roles/node_id/vars/u24.aarch64.yml) | ✅📦 |
630- | **U22** | Ubuntu 22.04 (jammy) | [`u22.x86_64`](roles/node_id/vars/u22.x86_64.yml) | ✅📦 | [`u22.aarch64`](roles/node_id/vars/u22.aarch64.yml) | ✅📦 |
631- | **D13** | Debian 13 (trixie) | [`d13.x86_64`](roles/node_id/vars/d13.x86_64.yml) | ✅📦 | [`d13.aarch64`](roles/node_id/vars/d13.aarch64.yml) | ✅📦 |
632- | **D12** | Debian 12 (bookworm) | [`d12.x86_64`](roles/node_id/vars/d12.x86_64.yml) | ✅📦 | [`d12.aarch64`](roles/node_id/vars/d12.aarch64.yml) | ✅📦 |
633-
624+ | Code | Distro | Minor | `x86_64` | Status | `aarch64` | Status |
625+ |:--------:|------------------------|---------|:---------------------------------------------------:|:------:|:-----------------------------------------------------:|:------:|
626+ | **EL10** | RHEL / Rocky / Alma 10 | 10.1 | [`el10.x86_64`](roles/node_id/vars/el10.x86_64.yml) | ✅📦 | [`el10.aarch64`](roles/node_id/vars/el10.aarch64.yml) | ✅📦 |
627+ | **EL9** | RHEL / Rocky / Alma 9 | 9.7 | [`el9.x86_64`](roles/node_id/vars/el9.x86_64.yml) | ✅📦 | [`el9.aarch64`](roles/node_id/vars/el9.aarch64.yml) | ✅📦 |
628+ | **EL8** | RHEL / Rocky / Alma 8 | 8.10 | [`el8.x86_64`](roles/node_id/vars/el8.x86_64.yml) | ✅📦 | [`el8.aarch64`](roles/node_id/vars/el8.aarch64.yml) | ✅📦 |
629+ | **U24** | Ubuntu 24.04 (noble) | 24.04.3 | [`u24.x86_64`](roles/node_id/vars/u24.x86_64.yml) | ✅📦 | [`u24.aarch64`](roles/node_id/vars/u24.aarch64.yml) | ✅📦 |
630+ | **U22** | Ubuntu 22.04 (jammy) | 22.04.5 | [`u22.x86_64`](roles/node_id/vars/u22.x86_64.yml) | ✅📦 | [`u22.aarch64`](roles/node_id/vars/u22.aarch64.yml) | ✅📦 |
631+ | **D13** | Debian 13 (trixie) | 13.3 | [`d13.x86_64`](roles/node_id/vars/d13.x86_64.yml) | ✅📦 | [`d13.aarch64`](roles/node_id/vars/d13.aarch64.yml) | ✅📦 |
632+ | **D12** | Debian 12 (bookworm) | 12.13 | [`d12.x86_64`](roles/node_id/vars/d12.x86_64.yml) | ✅📦 | [`d12.aarch64`](roles/node_id/vars/d12.aarch64.yml) | ✅📦 |
634633
635634
636635# # Sponsors
@@ -648,16 +647,15 @@ Pigsty is licensed under [**Apache-2.0**](LICENSE) (since v4.0), Check [**Docs**
648647
649648# # About
650649
651- [](https://pigsty.io/docs)
652650[](https://github.com/pgsty/pigsty/discussions)
653651[](https://t.me/joinchat/gV9zfZraNPM3YjFh)
654652[](https://discord.gg/j5pG8qfKxU)
655653[](https://pigsty.io/img/pigsty/pigsty-cc.jpg)
656654[](https://qm.qq.com/q/vm8LIeUqGc)
657655
658- [](https://vonng.com/)
659- [](https://vonng .com/en/ )
656+ [](https://vonng.com/en )
657+ [](https://github .com/Vonng )
660658[](mailto:rh@vonng.com)
661659[-red?logo=c&color=steelblue)](https://github.com/Vonng)
662660[](https://pigsty.io/docs/about/license/)
663- [](https://pigsty.cc/docs/about/service )
661+ [](https://pigsty.cc/price )
0 commit comments