simple_timeseries
time-series extension
simple_timeseries · time-series extension
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101767 | simple_timeseries | simple_timeseries | 1.0 | TIME | MIT | C |
| Relationships | |
|---|---|
| Requires | dblink |
Usage
Sources:
- Official upstream README
- Official extension control file (simple_timeseries.control)
- Official extension SQL (simple_timeseries–1.0.sql)
simple_timeseries — time-series extension. Use it for the corresponding scheduling, temporal, or time-series workflow. Its extension dependencies must be installed and validated first.
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
apply_retention_policies()is an extension function and returnsVOID.check_hypertable_exists(schema_name text, table_name text)is an extension function and returnsboolean.compress_chunk(chunk_name REGCLASS)is an extension function and returnsVOID.create_continuous_aggregate(view_name TEXT, hypertable REGCLASS, view_sql TEXT, bucket_width INTERVAL, refresh_interval INTERVAL DEFAULT NULL)is an extension function and returnsVOID.create_hypertable(table_name REGCLASS, time_column_name TEXT, chunk_time_interval INTERVAL)is an extension function and returnsVOID.display_all_chunks()is an extension function and returnsTABLE.display_all_triggers()is an extension function and returnsTABLE.drop_chunks(hypertable REGCLASS, older_than INTERVAL)is an extension function and returnsINTEGER.drop_continuous_aggregate(view_name TEXT)is an extension function and returnsVOID.drop_hypertable(table_name REGCLASS)is an extension function and returnsVOID.get_chunks_by_hid(p_hypertable_id int)is an extension function and returnsTABLE.get_current_timestamp_seconds()is an extension function and returnsbigint.get_hypertable_info(s_name text, t_name text)is an extension function and returnstext.refresh_continuous_aggregate(view_name TEXT, start_time TIMESTAMPTZ, end_time TIMESTAMPTZ)is an extension function and returnsVOID.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - Install the confirmed extension dependencies first:
dblink. - The control file marks the extension as non-relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.