saio
saio · Experimental load-only planner hook that searches PostgreSQL join orders with simulated annealing as an alternative to GEQO
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100482 | saio | saio | 0.0.1 | FEAT | PostgreSQL | C |
Usage
Sources:
- Extension control file
- Upstream warning and configuration
- Planner-hook implementation
- PGXN package metadata
saio version 0.0.1 is a 2011 experimental planner module that searches join orders with simulated annealing. It has no extension DDL file: after installing a compatible shared library, a session activates the planner hook with LOAD 'saio'. Once loaded, its saio switch defaults to on, while saio_seed and several temperature, equilibrium, move, and recomputation settings control the search.
Inspect it only in an isolated legacy build
The upstream documentation opens with an explicit warning not to use the module and describes its optimizer quality as very poor. Its code targets PostgreSQL internals from 2011, so modern server compatibility must not be assumed, and loading it changes planning for the whole backend session. Do not deploy it in production or load it into a session carrying valuable work. If historical research requires it, use a disposable server matching its era, keep saio disabled until a controlled query, capture plans and crashes, and terminate the session afterward.