PG Kernels

How to use PostgreSQL kernel forks in Pigsty, such as Citus, Babelfish, IvorySQL, PolarDB, and more.

In Pigsty, you can replace the native PostgreSQL kernel with different PostgreSQL “flavors” to unlock specialized capabilities.

Pigsty supports multiple PostgreSQL kernels and compatibility branches so you can emulate different database systems while keeping PostgreSQL ecosystem tooling and operations.

KernelKey FeatureDescription
PostgreSQLNative kernel, full extension setVanilla PostgreSQL with 464 extensions
CitusHorizontal scalingDistributed PostgreSQL via native extension
BabelfishSQL Server compatibleSQL Server wire-protocol compatibility (PG17)
IvorySQLOracle compatibleOracle syntax and PL/SQL compatibility
OpenHaloMySQL compatibleMySQL wire-protocol compatibility
PerconaTransparent data encryptionPercona distribution with pg_tde
FerretDBMongoDB migrationMongoDB wire-protocol compatibility
OrioleDBOLTP optimizationZheap, no bloat, S3 storage
PolarDBAurora-style RACRAC, China-local compliance scenario
SupabaseBackend as a ServicePostgreSQL-based BaaS, Firebase alternative
CloudberryMPP DW and analyticsMassively parallel data warehouse
AgensGraphGraph database kernelPostgreSQL-based graph database branch
pgEdgeDistributed edge kernelDistributed PostgreSQL for edge scenarios


PostgreSQL

Vanilla PostgreSQL kernel with 464 extensions

Supabase

How to self-host Supabase with Pigsty, deploy an open-source Firebase alternative with a complete backend stack in one click.

Babelfish

Use Babelfish (PG17) in Pigsty to provide SQL Server protocol/T-SQL compatibility; mainstream platform coverage is complete from v4.2.0.

Percona

Percona Postgres distribution with TDE transparent encryption support

openHalo

MySQL-compatible Postgres 14 branch

OrioleDB

Next-generation OLTP engine for PostgreSQL

Cloudberry

Enable the Cloudberry MPP data warehouse kernel (gpsql mode) in Pigsty and integrate it with unified deployment and monitoring.

AgensGraph

Use the AgensGraph (PG16) graph database kernel in Pigsty with property graph modeling and Cypher/SQL hybrid queries.

pgEdge

Use the pgEdge (PG17) kernel in Pigsty for distributed, multi-master PostgreSQL at the edge.

Citus

Deploy native high-availability Citus horizontally sharded clusters with Pigsty, seamlessly scaling PostgreSQL across multiple shards and accelerating OLTP/OLAP queries.

IvorySQL

Use HighGo’s open-source IvorySQL kernel to achieve Oracle syntax/PLSQL compatibility based on PostgreSQL clusters.

PolarDB PG

Using Alibaba Cloud’s open-source PolarDB for PostgreSQL kernel to provide domestic innovation qualification support, with Oracle RAC-like user experience.

PolarDB Oracle

Using Alibaba Cloud’s commercial PolarDB for Oracle kernel (closed source, PG14, only available in special enterprise edition customization)

PostgresML

How to deploy PostgresML with Pigsty: ML, training, inference, Embedding, RAG inside DB.

Greenplum

Deploy/Monitor Greenplum clusters with Pigsty, build Massively Parallel Processing (MPP) PostgreSQL data warehouse clusters!

Neon

Use Neon’s open-source Serverless PostgreSQL kernel to build flexible, scale-to-zero, forkable PG services.


Last Modified 2026-03-06: routine update (d23a2dd)