cstore_fdw
cstore_fdw · Columnar storage extension for PostgreSQL built as a foreign data wrapper
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100005 | cstore_fdw | cstore_fdw | 1.7 | OLAP | Apache-2.0 | C |
PostgreSQL · 10, 11, 12
Usage
Sources:
cstore_fdw stores PostgreSQL foreign tables in a columnar format intended for batch-loaded analytical data. It supports column projection, min/max skip indexes, and optional pglz compression.
The library must be preloaded before the extension is created:
Restart PostgreSQL after changing that setting, then create the FDW objects:
Load data in batches with COPY or INSERT INTO ... SELECT ..., then run ANALYZE. Upstream version 1.7 supports PostgreSQL 9.3 through 12 and does not support UPDATE, DELETE, or single-row inserts.
Deprecated status
Upstream has moved columnar storage into Citus using PostgreSQL’s table-access-method API. It recommends migrating existing cstore_fdw data to Citus columnar tables, which add features such as streaming replication, rollback, and easier pg_upgrade. Use cstore_fdw mainly to operate or migrate legacy installations.