Skip to content

isam_am

Academic ISAM index access method for integer keys

isam_am · Academic ISAM index access method for integer keys

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102231isam_amisam_am1.1FEATC

PostgreSQL · 18

Usage

Sources:

isam_am 1.1 implements an ISAM index for a PostgreSQL 18.6 course project. The installation path combines the 1.0 SQL definition with the 1.0-to-1.1 upgrade script.

Core Workflow

CREATE EXTENSION isam_am;
CREATE TABLE isam_example (k integer);
SET isam_am.fill_pct = 80;
CREATE INDEX isam_example_idx ON isam_example USING isam_am (k);
SELECT * FROM isam_index_stats('isam_example_idx');
SELECT isam_reorg_needed('isam_example_idx', 25);

Operational Boundaries

The default operator class covers int4 comparisons. isam_am.fill_pct controls the fill setting used by the example. isam_index_stats(regclass) returns key, data-block, overflow and chain statistics; isam_reorg_needed(regclass, float8) compares overflow percentage with a threshold, defaulting to 25. Reorganization uses REINDEX and has its normal locking and storage cost. Installation defaults to superuser-only. Treat the supplied tests as project evidence, not a production support promise; no repository license was found.

Table reader