Skip to content

alohadb_scale

AlohaDB Scale - scale-to-zero management

alohadb_scale · AlohaDB Scale - scale-to-zero management

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101275alohadb_scalealohadb_scale1.0ADMINMITC

Usage

Sources:

alohadb_scale — AlohaDB Scale - scale-to-zero management. Use it when administering or automating the database behavior described above. Upstream describes this capability as experimental.

Core Workflow

CREATE EXTENSION alohadb_scale;

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

  • scale_activity() is an extension function and returns TABLE.
  • scale_configure(suspend_after interval DEFAULT NULL, min_connections int DEFAULT NULL) is an extension function and returns void.
  • scale_status() is an extension function and returns TABLE.
  • scale_suspend() is an extension function and returns text.

Requirements and Caveats

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

Table reader