How to enforce new retention

34 views
Skip to first unread message

Isaías Sánchez

unread,
Apr 8, 2021, 6:24:29 AMApr 8
to Promscale Users
Hi,

I had a default retention but It's filling my disk, I set-up an smaller retention period, but the old data is still there. How can I enforce the new retention period to delete old data?

Thanks,

Isaias S.

harkishen

unread,
Jul 14, 2021, 4:34:52 AMJul 14
to Promscale Users

Hey, sorry for the super delayed response.

Did you set the retention interval using prom_api.set_default_retention_period(interval '90 days');

You can enforce the new retention period using CALL prom_api.execute_maintenance();

Let me know if you have additional questions.
Thank you.
Reply all
Reply to author
Forward
0 new messages