Skip to main content
Since 2.12.0 Shows information about the jobs run by the automation framework. This includes custom jobs and jobs run by policies created to manage data retention, s, , and other automation policies. For more information about automation policies, see jobs.

Samples

To retrieve information about recent jobs:

Returns

Error retention policy

The timescaledb_information.job_history informational view is defined on top of the _timescaledb_internal.bgw_job_stat_history table in the internal schema. To prevent this table from growing too large, the Job History Log Retention Policy [3] system background job is enabled by default, with this configuration:
On TimescaleDB and Managed Service for TimescaleDB, the owner of the job history retention job is tsdbadmin. In an on-premise installation, the owner of the job is the same as the extension owner. The owner of the retention job can alter it and delete it. For example, the owner can change the retention interval like this: