pg_tiering
alohadb · AlohaDB: Rule-driven partition tablespace movement
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102403 | pg_tiering | alohadb | 1.0 | ADMIN | MIT | C |
PostgreSQL · 18
Usage
Sources:
pg_tiering 1.0 provides rule-driven partition tablespace movement. This preview module is scoped to the PostgreSQL 18 fork in AlohaDB 21.1.0; stock PostgreSQL compatibility is not established.
Workflow
Installation requires a superuser; function use also requires the appropriate object privileges.
Operational boundaries
Rules in pg_tiering_rules identify parent tables, age thresholds and destination tablespaces. pg_tiering_check_now runs checks manually; periodic work requires preloading pg_tiering, restart, pg_tiering.database and pg_tiering.check_interval. Moving a relation uses ALTER TABLE SET TABLESPACE and consumes locks and I/O. Verify free space, ownership and partition-age selection before enabling rules; this is local tablespace movement, not object-storage archiving.
This module corresponds to the former upstream name alohadb_tiering. Follow AlohaDB’s cluster/object conversion procedure and do not substitute an unrelated implementation with a similar name. Rehearse dependencies, privileges and backup restoration before upgrades.