pg_contagg
alohadb · AlohaDB: Materialized aggregate management and time-series functions
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102379 | pg_contagg | alohadb | 1.0 | OLAP | MIT | C |
PostgreSQL · 18
Usage
Sources:
pg_contagg 1.0 provides materialized aggregate management and time-series functions. This preview module is scoped to the PostgreSQL 18 fork in AlohaDB 21.1.0; stock PostgreSQL compatibility is not established.
Workflow
Installation requires a superuser; function use also requires the appropriate object privileges.
Operational boundaries
analytics_create_cont_agg registers a materialized view; analytics_refresh_cont_agg performs a full REFRESH MATERIALIZED VIEW. The refresh interval is stored metadata, not proof of automatic incremental maintenance. Projection triggers also perform full refreshes. Limit query-definition access to trusted owners and schedule refreshes explicitly.
This module corresponds to the former upstream name alohadb_analytics. Follow AlohaDB’s cluster/object conversion procedure and do not substitute an unrelated implementation with a similar name. Rehearse dependencies, privileges and backup restoration before upgrades.