Product Solutions · Cloud Exit Services Pricing About Values Docs 简体中文 GitHub · 5.5k

PGSTY PTE. LTD. SINGAPORE

Production Grade. Self-hosted. Truly Yours.

The complete self-hosting solution for enterprise-grade PostgreSQL — HA, PITR, observability, and 572 extensions, from laptop to datacenter in one command. Apache-2.0. Unlimited nodes. Nothing held back.

curl -fsSL https://repo.pigsty.io/get | bash

PostgreSQL in Great STYle

01 · POSTGRES · THE DISTRIBUTION

Pigsty — a free & better RDS alternative

Our flagship: top-tier DBA judgment cast into open-source software, so enterprise-grade self-hosted PostgreSQL is no longer a privilege of the few.

Everything you need to self-host PostgreSQL

Laptop to datacenter, one command

  • Self-healing HA on Patroni / etcd, PITR with pgBackRest
  • 572 extensions & 12 kernels: MSSQL / Oracle / MySQL / Mongo compatible
  • Declarative Ansible IaC — infrastructure as code, under your control
  • Fully open source under Apache-2.0 — unlimited nodes, nothing held back

Gives a junior engineer 70%+ of a professional DBA's capability

pigsty.yml
# declare an HA postgres cluster
pg-meta:
  hosts:
    10.10.10.10: { pg_seq: 1, pg_role: primary }
    10.10.10.11: { pg_seq: 2, pg_role: replica }
  vars:
    pg_cluster: pg-meta
    pg_version: 18

# then let pigsty do the rest
$ ./install.yml

02 · INFRAS · INFRASTRUCTURE

Public infrastructure for the PostgreSQL ecosystem

Software repositories, extension delivery, object storage — we run the foundations the ecosystem stands on, reachable worldwide and inside mainland China alike.

This layer is the missing i in the company's name — the story is on the About page.

We maintain the ground you build on

Air-gapped, compliant, sovereign — all covered

  • Global CDN repo at repo.pigsty.io, with mainland-China mirror repo.pigsty.cc
  • PGEXT.CLOUD — 2,230 extensions catalogued, 572 packaged & installable
  • Offline packages pinned to exact OS minor versions — deliverable air-gapped
  • Silo — the PIGSTY-maintained MinIO fork: S3-compatible, with ongoing security updates

Ecosystem continuity is itself infrastructure

PGSTY // INFRA ENDPOINTSGLOBAL · CHINA REPOrepo.pigsty.io MIRRORrepo.pigsty.cc EXTpgext.cloud S3silo · object store APTdeb packages YUMrpm packages ALWAYS ON · MAINTAINED

03 · GLASS · OBSERVABILITY

See everything your database does

Our Victoria + Grafana observability stack is a house specialty — performance, faults, and capacity, visible at a glance.

Observability is a first-class citizen

See it before you tune it

  • pg_exporter — declarative metrics exporter for PostgreSQL & PgBouncer
  • 600+ metrics and ~3,000 time series per instance
  • Panoramic dashboards across database, pooling, node, and infra
  • A living cluster at demo.pigsty.io — real, and always on

Reading databases through dashboards is our native tongue

PG_EXPORTER v1.4.1 Apache-2.0 358

METRICS EXPORTER

Advanced PostgreSQL & PgBouncer metrics exporter for Prometheus — 600+ metrics with declarative config and dynamic collector planning.

docker pull pgsty/pg_exporter

04 · SERVICE · EXPERT SERVICES

Expert help, when it matters

Open source solves 90% of the problem; subscriptions and experts cover the last 10% — served by the people who wrote the code.

Quick Consultation

Fast diagnosis of a database issue, or a custom Pigsty offline package.

$30 / issue

Expert Session

Deep dive into a specific topic with industry-leading expertise.

$400 / session

Emergency Response

Architecture upgrades, data migration, incident response, data recovery.

$4,000 / day

Expert Retainer

Custom development, private deployment, large-scale RDS & DBaaS build-out.

Contact us

WHEN TO CALL US

  • Mission-critical databases that need a strict SLA
  • Hard PostgreSQL problems: bottlenecks & root-cause analysis
  • Architecture design for security, DR, and compliance
  • Cloud exit & Oracle migration to open-source PostgreSQL
  • Sovereign stacks: local OS & ARM architecture support
  • Running Pigsty as your own DBaaS / RDS offering

SUBSCRIPTION PRICING

OSSFreeStandard$8KProfessional$24KEnterprise$60K / year · billed per node

See Full Pricing →

05 · TOOLBOX · THE TOOLBOX

Sharp tools, all open source

The toolbox around the distribution — object storage, package manager, metrics exporter, and repo manager; structured output, agent-friendly, comfortable for humans and AIs alike.

SILO RELEASE.2026-08-06 AGPL-3.0 2.1k

OBJECT STORAGE

The MinIO fork maintained by PIGSTY — S3-compatible object storage with continued security updates, a restored console, and full release artifacts.

docker pull pgsty/minio
PIG v1.6.1 Apache-2.0 199

PACKAGE MANAGER

PostgreSQL & extension package manager — PG 14–18 with 572 extensions on EL / Debian / Ubuntu, amd64 & arm64, agent-friendly structured output.

curl -fsSL https://repo.pigsty.io/pig | bash
PG_EXPORTER v1.4.1 Apache-2.0 358

METRICS EXPORTER

Advanced PostgreSQL & PgBouncer metrics exporter for Prometheus — 600+ metrics with declarative config and dynamic collector planning.

docker pull pgsty/pg_exporter
SOW v0.3.0 Apache-2.0 1

REPO MANAGER

Self-contained RPM / YUM and DEB / APT repository manager — one-command indexing, managed workspaces, immutable generations, and incremental publishing.

sow create ./packages

06 · YOURS · SOVEREIGNTY

Your data. Your database. Yours.

We believe cloud exit and self-hosting is how this era cuts cost — open source, local-first, cloud-neutral, putting the database back under your control.

What we stand for

Freedom isn't a feature — it's a commitment

  • Fully-featured open source: Apache-2.0, unlimited nodes, nothing held back
  • Local-first: runs on your metal, beholden to no cloud
  • Cloud-neutral: on-prem, cloud, or hybrid — no vendor lock-in
  • Giving back: Chinese PostgreSQL documentation and the pg.center community portal

Run a good database — and run it well

values.yml
# pgsty core values
license:   Apache-2.0
data:      yours
runs_on:   your metal
lock_in:   none
cloud:     optional
community: first

Practical questions

What teams usually ask before they start

The software stays open; subscriptions and expert work add assurance around the same stack.

Is Pigsty really free to use in production?

Yes. Pigsty and the core stack are Apache-2.0 software, with no node limit or feature gate. You pay only when you want optional support, response commitments, or expert work.

What does a PGSTY subscription buy?

A subscription buys assurance around the open-source stack: direct guidance, response commitments, and help operating production systems. It does not unlock a separate proprietary edition. See the current plans and scope.

Can you help us leave RDS or migrate from Oracle?

Yes. Engagements can cover architecture, cost modelling, rehearsal, staged cutover, rollback planning, and production handover. Start with the Cloud Exit solution.

Who handles a production incident?

You reach the engineer who writes and operates the software, without a tiered support queue. For a concrete workload or incident, contact the author directly.

ABOUT US

Who we are

Our mission is to help the world make the most of PostgreSQL.

What began in 2018 as one DBA's toolbox is now a complete open-source PostgreSQL ecosystem: the Pigsty distribution, Silo — the PIGSTY-maintained MinIO fork with ongoing security updates (2.1k stars) — and the pgext.cloud extension catalog. PGSTY is the company behind the pgsty organization on GitHub, and a MiraclePlus S22 alumnus.

And we keep the company deliberately small: no support tiers — when you call, you reach the person who wrote the code.

About PGSTY →

THE FOUNDER

Ruohang Feng (Vonng)

@Vonng · vonng.com

PostgreSQL evangelist, author of Pigsty, translator of the Chinese PostgreSQL documentation.

Let's talk PostgreSQL

A commercial inquiry, a subscription, or a hard database problem — reach the expert directly.