alohadb_vectorize
alohadb_vectorize · Analytical query wrappers that apply local planner and memory settings
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102113 | alohadb_vectorize | alohadb_vectorize | 1.0 | OLAP | MIT | C |
PostgreSQL · 18
Usage
Sources:
- README.md
- contrib/alohadb_vectorize/alohadb_vectorize–1.0.sql
- contrib/alohadb_vectorize/alohadb_vectorize.c
- contrib/alohadb_vectorize/alohadb_vectorize.control
alohadb_vectorize 1.0 wraps analytical SQL with local memory, parallel-planning and JIT settings in AlohaDB. Its implementation uses PostgreSQL SPI and does not introduce a new vectorized execution engine.
Core Workflow
Operational Boundaries
vectorize_query returns a record set whose column definitions the caller must supply. vectorize_explain runs EXPLAIN ANALYZE, so it executes the supplied query. vectorize_status shows relevant settings and vectorize_benchmark repeats a query and returns timings.
The wrappers apply SET LOCAL settings, including increased work memory and parallel-worker settings, for the transaction. Run experiments in a bounded transaction and consider aggregate memory use under concurrent queries. Do not pass untrusted SQL to these functions. Installation requires a superuser; no preload or restart is declared. The reviewed distribution belongs to the PostgreSQL 18-based AlohaDB fork; portable stock-PostgreSQL package support has not been established.