saio 0.0.1

This Release
saio 0.0.1
Date
Status
Stable
Latest Unstable
saio 0.0.2 —
Other Releases
Abstract
A join order search plugin using simulated annealing.
Description
Provides an experimental planner module that uses a randomised algorithm to try to find the optimal join order.
Released By
wulczer
License
The PostgreSQL License
Resources
Special Files
Tags

Extensions

saio 0.0.1
A join order search module

README

Contents

SAIO

An extension module for PostgreSQL that implements join order search with Simulated Annealing.

It's in early stages of development and definitely not suitable for production use. It doesn't meet any portability or code quality requirements yet. It does produce valid plans, though.

To use it, you will need the PostgreSQL development headers. Compile and install with:

$ make
$ sudo make install

After that log in to your PostgreSQL server with a superuser account and issue:

=# LOAD 'saio';

By default all queries will be planned using SAIO, to disable it use:

=# SET saio TO 'false';

Beware, if the module has been compiled against a server with assertion checking enabled, it will run extremely slowly and it will write debugging information to the /tmp directory.

You can learn more about SAIO by reading the PGCon2010 presentation. Get it by entering the pgcon2010/ directory and typing make.