vectorize_engine
vectorize_engine · Vectorized query execution extension for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100056 | vectorize_engine | vectorize_engine | 1.0 | OLAP | PostgreSQL | C |
Usage
Sources:
vectorize_engine version 1.0 is a prototype vectorized executor for PostgreSQL 9.6. A post-planner hook replaces supported sequential-scan and aggregate nodes with custom scan nodes; a GUC leaves the feature disabled by default.
Example
Build PostgreSQL with suitable SIMD flags, put vectorize_engine in shared_preload_libraries, restart, and then run:
The source copies and modifies PostgreSQL executor code and is explicitly based on PostgreSQL 9.6; the repository has not changed since 2020. Only a limited node/type/expression subset is vectorized, with fallback intended for unsupported plans. It is not compatible with modern server internals without substantial porting. Use only on a matching disposable benchmark instance and compare every result and plan with the feature disabled.