citusdata/cstore_fdw
FreeColumnar storage extension for Postgres built as a foreign data wrapper. Check out https://github.com/citusdata/citus for a modernized columnar storage implementation built as a table access method.
About citusdata/cstore_fdw
cstore_fdw is an open-source columnar storage extension for PostgreSQL, implemented as a foreign data wrapper (FDW). It is designed for analytics use cases where data is loaded in batches. By storing data column-by-column rather than row-by-row, cstore_fdw significantly improves query performance for analytical workloads—only reading relevant columns from disk—and achieves 6x–10x data compression, reducing storage requirements for data archival. The extension was developed by Citus Data and can be combined with the Citus extension to distribute queries across multiple PostgreSQL nodes. Note: The columnar storage functionality is now natively available in the Citus extension, which provides a more modern table access method with support for streaming replication, archival, rollback, and simplified upgrades. Users are encouraged to migrate to Citus for ongoing development and better PostgreSQL integration.
Key Features
Pros & Cons
- Significant compression (6x–10x) reduces storage costs
- Faster analytical queries due to columnar storage and selective reads
- Open source with an active history and community
- Integrates seamlessly with PostgreSQL as a foreign data wrapper
- Can be extended with Citus for distributed querying
- Deprecated in favor of Citus columnar storage (no new development)
- Lacks streaming replication and transactional rollback support
- Migration to Citus required for modern PostgreSQL features
- Not suitable for OLTP workloads with frequent row-level updates