Hydra adds serverless online analytics processing (OLAP) functionality to Postgres. Hydra is column-oriented by default: to enable serverless analytics, simply create a table.
Hydra makes it easier to build realtime analytics by automatically managing the transactional rowstore and analytical columnstore together. Inserting data into a table will automatically convert it into an optimized columnar format.
Use Hydra to eliminate the costs and latency of moving and transforming data between a row and external columnstore with data pipelines (ETL).
Postgres as a multi-workload data store
Hydra is a “multi-workload data store” with the following core capabilities:- high throughput, ACID-compliant online transactional processing (OLTP)
- vectorized, parallel execution of online analytical processing (OLAP)
What's a rowstore?
What's a rowstore?
In a rowstore, table rows are stored sequentially. This arrangement enables fast retrieval of rows because the column values for each row are grouped together. A rowstore make it easy to add / modify a record, but may scan unnecessary data during read operations. For example, PostgreSQL is a rowstore..png)
.png)
What's a columnstore?
What's a columnstore?
In a columnstore, tables are organized by storing all the values of each column in sequence. This format enhances the efficiency of filtering or aggregating columns but complicates the retrieval of individual rows due to the gaps between row data. For example, DuckDB is a columnstore..png)
.png)
Analytics overview
- Isolated Compute Tenancy
- Serverless processing
- Sharing
