Controllable FOSS: Sovereign Self-Hosting
Grounded like the earth, gathering all rivers—standing firm while gazing at the stars!
Permissions:
- Commercial use
- Modification
- Distribution
- Patent use
- Private use
Conditions:
- License and copyright notice
- State changes
- Disclose source
- Network use is distribution
- Same license
Limitations:
- Liability
- Warranty
Free Software: Self-hosting democratized
Pigsty is 100% built upon open-source components, carrying forward the AGPLv3 spirit of freedom.
We bring top-tier database self-hosting within everyone's reach, empowering each organization to excel with PG.
- A gift to the PostgreSQL community and its users
- No license fees or usage limits, free at any scale
- A reciprocal open-source ecosystem that benefits all
Local-First: Run on-premises indefinitely
Pigsty adheres to a local-first philosophy—fully functional even offline, capable of running forever without external dependencies.
A local software repository and version snapshots ensure you always have matching packages ready for new nodes.
- Requires no external services, supports offline deployment and installation
- All software at deployment time is snapshotted to a local repo
- Deploy on any node—physical, bare metal, VM, and more
Multi-Cloud: No vendor lock-in
Build your own full-stack DBaaS with Pigsty, reducing clouds to mere resource providers.
Say no to lock-in: compare standardized compute offerings and choose what’s best.
- Use Terraform to quickly provision required servers across various clouds
- Blue-green migration via logical replication makes cross-cloud moves effortless
- Cloud object storage, CDN, and more remain optional—use them if you wish
Free Extensions: Install any extensions you want
Pigsty offers an unmatched 400+ PG extensions, ready to use out of the box.
No more constraints imposed by cloud providers’ security policies or open-source quirks—unleash PG’s full power.
- Built for PG 17–13 x AMD/ARM x EL/Debian/Ubuntu distributions
- Out-of-the-box RPM/DEB packages, compatible with ten major Linux distros
- A complete extension directory and the pig package manager, unlocking multi-model superpowers in one click
Storage Pricing | Unit ¥/TB·Month |
---|---|
DHH / Gen4 NVMe SSD 12T | 24 |
Tantan / Enterprise NVMe SSD MLC 3.2T | 16 |
Alibaba Cloud ESSD PL3 (3-year plan) | 2000 |
AWS io2 fully provisioned: 64T, 256k IOPS | 1970 |
Data Ownership: Truly under your control
Pay for resources at fair cost,enjoy the cutting-edge hardware price advantage.
Gain real agility in emergencies,instead of passively waiting for a miracle.
- Pay roughly 1% of the cloud price andaccess top-tier NVMe SSD performance
- Obtain superuser privileges, truly own your database
- Bypass lengthy external RDS support chains—fix issues directly
Reproducible Build: Roll up your sleeves and build
Pigsty adopts the AGPLv3 license, preserving software freedom against public cloud erosion.
Feel free to customize and enhance it, so long as you abide by the AGPLv3 terms.
- AGPLv3 by default, primarily targeting cloud/database vendors
- For typical end-users, it effectively mirrors Apache-like permissive use
- Commercial licenses available for DBaaS & OEM scenarios
Compliance Ready: Aligned with best practice
One of the most influential PostgreSQL projects from China in the global PG ecosystem
Achieve compliance goals without sacrificing features or service quality.
- OSSRank PG Extension Ecosystem:ranked #1 among China-led PG projects
- Meets domestic requirements: supportsPolarDB v2.0 kernel, PG-compatible
- Enterprise Edition supports domestic OS, chip architectures, and DB kernels
Expert Support: Top experts backing you
Let the finest PostgreSQL specialists guard your mission-critical needs, truly addressing your pain points.
Affordable subscription plans cut out the middleman—win-win for everyone.
- Enjoy service guarantees plus extensive PG and OS support
- Senior experts provide guidance and troubleshooting, saving you time
- Choose from multiple tiers of support—cost-effective, tailored to your needs
PIGSTY