Skip to content

ybgist

Spatial index operator classes for a patched YugabyteDB access method

yb-pggist · Spatial index operator classes for a patched YugabyteDB access method

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102177ybgistyb-pggist1.2GISC
Relationships
Requirespostgis

Usage

Sources:

ybgist supplies spatial operator classes and guard functions for the native access method in a specific YugabyteDB fork. It is not installable on stock PostgreSQL or stock YugabyteDB.

Core Workflow

CREATE EXTENSION postgis;
CREATE EXTENSION ybgist;
SELECT ybgist_tune_costs();

Operational Boundaries

Deploy the matching core fork, patched PostGIS and extension as one compatible stack; its C++ runtime and ABI requirements are part of the installation contract. Create PostGIS first, then ybgist as a superuser. The fixed schema is public. Bulk-load data before building indexes in separate statements. ybgist_record_index records build settings, ybgist_verify_index checks backfill completeness and ybgist_tune_costs adjusts predicate costs.

The source control version is 1.2; published r2 bundles predate current features. Geometry, geography and multicolumn scalar/spatial indexes are documented. Index-only scans and nearest-neighbor ordering are not supported. Changing mapping or coverage settings requires following the upstream drift/reindex procedure. No project license declaration was found in the inspected source tree.

Table reader