Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Viewing all articles
Browse latest Browse all 291

Retention policy with fixed schedule

$
0
0

I want to declare a retention policy that runs everyday at a specific time. From the docs, it was not clear if this is possible using the add_retention_policy function. The schedule_interval parameter description says that “the interval between the finish time of the last execution and the next start”, while the timezone parameter says that “if initial_start is also specified, subsequent executions of the retention policy are aligned on its initial start”.

So, what should happen when I specify a schedule_interval, initial_start and timezone? Do the subsequent executions stay aligned to initial start or they get shifted by the execution time?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 291

Trending Articles