hydradatabase/columnar
FreePostgres-native columnar storage extension
About hydradatabase/columnar
Hydra Columnar is an open source, column-oriented Postgres extension that accelerates analytical workloads. It uses columnar storage, query parallelization, vectorized execution, and column-level caching to deliver fast query performance for aggregates (COUNT, SUM, AVG), WHERE clauses, and bulk operations. Hydra is a drop-in replacement for the standard Postgres Docker image and works with existing PostgreSQL tools and SQL. It operates as an extension via the table access method API (tableam) added in Postgres 12, not as a fork. Currently in alpha/beta stages, it is designed for use cases like clickstream analysis, web analytics, machine-generated data, structured logs, and events data. Limitations include no support for logical replication and only btree/hash indexes.
Key Features
Pros & Cons
- Significantly faster analytical queries compared to row-oriented Postgres
- Easy to deploy with provided Docker image as a drop-in replacement
- Uses standard PostgreSQL SQL and ecosystem tools
- Open source and free to use (AGPL 3.0)
- Extends Postgres without forking, staying close to upstream
- Currently in alpha/beta stages, not fully production-ready for all use cases
- Limited index support: only btree and hash indexes, no GIN, GiST, or SP-GiST
- Does not support logical replication for columnar tables
- Not suitable for frequent large updates or small OLTP transactions
- Some Postgres features may be unsupported (e.g., certain constraints)