pg_mooncake
Columnstore Table in Postgres
Repository
Mooncake-Labs/pg_mooncake
https://github.com/Mooncake-Labs/pg_mooncake
Source
pg_mooncake-0.2.0.tar.gz
pg_mooncake-0.2.0.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_mooncake | 0.2.0 | OLAP | MIT | Rust |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2440 | pg_mooncake | No | Yes | Yes | Yes | No | No | - |
| Related | pg_duckdb pg_duckdb pg_ducklake columnar citus_columnar pg_lake pg_parquet orioledb storage_engine pg_sorted_heap duckdb_fdw |
|---|
unpublished release.
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.2.0 | 1817161514 | pg_mooncake | pg_duckdb |
| RPM | PIGSTY | 0.2.0 | 1817161514 | pg_mooncake_$v | - |
| DEB | PIGSTY | 0.2.0 | 1817161514 | postgresql-$v-pg-mooncake | - |
Build
You can build the RPM / DEB packages for pg_mooncake using pig build:
Install
You can install pg_mooncake directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Preload:
Create Extension:
Usage
pg_mooncake is a Postgres extension that creates columnstore mirrors of your tables in Iceberg format, designed as a sub-extension of pg_duckdb.
pg_mooncake docs: https://docs.mooncake.dev/
Quick Setup
Install pg_duckdb and pg_mooncake with pig:
Edit postgresql.conf, then restart to take effect
Hello Worlds
You will see the DuckDBScan in the execution plan:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)