Closed pgloader closed 2 weeks ago
By default only failed execution are tracked. You need to turn on the GUC timescaledb.enable_job_execution_logging to record all executions
Thanks. @fabriziomello
I see the rest of jobs in job_history. Is there a way to setup retention for job_history ?
@pgloader job_history is a view on top of _timescaledb_internal.bgw_job_stat_history
which is a regular PG table. To prevent this table from growing too large, the Job History Log Retention Policy is enabled by default.
https://docs.timescale.com/api/latest/informational-views/job_history/#error-retention-policy
@pgloader I am closing this for now. Please re-open if you feel that anything else needs to be done here.
What type of bug is this?
Other
What subsystems and features are affected?
Other
What happened?
There is only policy_telemetry in timescaledb_information.job_history. refresh_continuous_aggregate jobs didn't appear in the history view
TimescaleDB version affected
2.5.12
PostgreSQL version used
14.5
What operating system did you use?
Red Hat Enterprise Linux release 8.2 (Ootpa)
What installation method did you use?
Source
What platform did you run on?
On prem/Self-hosted
Relevant log output and stack trace
How can we reproduce the bug?