alohadb_timeseries
Auto-partition management for time-series tables using a background worker
alohadb_timeseries · Auto-partition management for time-series tables using a background worker
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101276 | alohadb_timeseries | alohadb_timeseries | 1.0 | TIME | MIT | C |
Usage
Sources:
- Official upstream README
- Official extension control file (alohadb_timeseries.control)
- Official extension SQL (alohadb_timeseries–1.0.sql)
alohadb_timeseries — Auto-partition management for time-series tables using a background worker. Use it for the corresponding scheduling, temporal, or time-series workflow. Upstream describes this capability as experimental.
Core Workflow
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
alohadb_time_bucket(bucket_width interval, ts timestamp)is an extension function and returnstimestamp.alohadb_time_bucket(bucket_width interval, ts timestamptz)is an extension function and returnstimestamptz.alohadb_timeseries_maintain_now()is an extension function and returnsvoid.alohadb_timeseries_manage(p_table_name regclass, p_partition_column text, p_partition_interval interval, p_retention_interval interval DEFAULT NULL)is an extension function and returnsvoid.alohadb_timeseries_status(OUT table_name text, OUT partition_column text, OUT partition_interval interval, OUT retention_interval interval, OUT partition_count int, OUT enabled boolean)is an extension function and returnsSETOF.alohadb_timeseries_unmanage(p_table_name regclass)is an extension function and returnsvoid.alohadb_timeseries_configis a table installed or managed by the extension.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as non-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.