ags
Advanced Generalized Search access method, a GiST-based advanced index.
ags · Advanced Generalized Search access method, a GiST-based advanced index.
Overview
PostgreSQL · 11, 12
| Relationships | |
|---|---|
| Requires | cube |
Usage
Sources:
ags installs an experimental index access method derived from PostgreSQL GiST code. Version 1.0 exposes the access method named ags and one default operator class, ags_cube_ops, for the cube type. It is intended for cube overlap, containment, equality, and distance searches.
Basic use
The extension does not declare its cube dependency, so install cube explicitly first:
The operator class also registers cube overlap and containment operators. Verify plans with EXPLAIN on representative data before relying on the index.
Caveats
- The repository has no README, release history, license file, or PostgreSQL compatibility matrix.
- Much of the implementation is a private copy of PostgreSQL GiST internals from 2019. Those internal APIs are major-version-sensitive, so build and regression-test ags separately for every PostgreSQL major version.
- Version 1.0 supplies only the cube operator class, does not declare cube as a control-file dependency, and disables parallel index scans.
- Treat the extension as research code until its correctness, crash safety, recovery behavior, and upgrade path have been validated for the target server.