pg_mooncake
Columnstore Table in Postgres
pg_mooncake : Columnstore Table in Postgres
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 2440 | pg_mooncake | pg_mooncake | 0.2.0 |
OLAP | MIT | Rust |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --sLd-- | No | Yes | Yes | Yes | no | no |
| Relationships | |
|---|---|
| Requires | pg_duckdb |
| See Also | pg_duckdb pg_ducklake columnar citus_columnar pg_lake pg_parquet orioledb storage_engine pg_sorted_heap duckdb_fdw |
unpublished release.
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.2.0 |
18 17 16 15 14 | pg_mooncake |
pg_duckdb |
| RPM | PIGSTY | 0.2.0 |
18 17 16 15 14 | pg_mooncake_$v |
- |
| DEB | PIGSTY | 0.2.0 |
18 17 16 15 14 | postgresql-$v-pg-mooncake |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| el8.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| el9.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| el9.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| el10.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| el10.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| d12.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| d12.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| d13.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| d13.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u22.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u22.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u24.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u24.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u26.x86_64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
| u26.aarch64 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 | PIGSTY 0.2.0 |
Source
github.com/Mooncake-Labs/pg_mooncake
pg_mooncake-0.2.0.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Config this extension to shared_preload_libraries:
Create this extension with:
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: