Skip to content

heapy

table AM for Yezzey

heapy · table AM for Yezzey

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101394heapyheapy1.0OLAPUnknownC

Usage

Sources:

heapy — The Heap Only Tuple (HOT) feature eliminates redundant index entries and allows the re-use of space taken by DELETEd or obsoleted UPDATEd tuples without performing a table-wide vacuum. It does this by allowing single-page vacuuming, also called “defragmentation”. Use it for the corresponding analytical or storage workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION heapy;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • heapy_define_relation_offload_policy_internal(reloid OID) is an extension function and returns void.
  • heapy_define_relation_offload_policy_internal_seg(reloid OID) is an extension function and returns void.
  • heapy_tableam_handler(internal) is an extension function and returns table_am_handler.
  • heapy is an extension-defined access method.

Requirements and Caveats

  • The reviewed control file declares default version 1.0.
  • The control file marks the extension as relocatable.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader