vops
vops · Vectorized tile types, aggregates, projections, and FDW for PostgreSQL OLAP
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100006 | vops | vops | 1.1 | OLAP | PostgreSQL | C |
Usage
Sources:
- Pinned upstream architecture and usage guide
- Pinned extension control file
- Official PGXN distribution page
vops provides vectorized tile types, operators, aggregates, projections, and an FDW for analytic PostgreSQL workloads. Types such as vops_int4, vops_float8, and vops_bool hold up to 64 scalar values per tile, reducing per-row executor overhead while retaining ordinary PostgreSQL heap storage.
Load the query-rewrite hook at startup; the guide also documents explicit vops_initialize() for sessions where preloading is unavailable:
After creating and populating a VOPS tile table, vector predicates use filter, betwixt, and overloaded boolean operator &:
Tile columns are not scalar columns: null masks, casts, filtering, aggregation, projection refresh, and bulk loading have VOPS-specific semantics. The reviewed guide says joins are not supported by vector operators, and operator precedence requires parentheses around compound vector predicates. Validate query plans and results against a scalar reference table before trusting performance gains.
The pinned control version is 1.1, while PGXN lists a later 2.0.1 distribution. Pin one source/version line, verify the server compatibility and rewrite-hook behavior, and treat projection refresh consistency, crash recovery, concurrent updates, and unsupported SQL shapes as explicit operational boundaries.