Hyper table’s retention time interval is unable to be changed in Timeframe DB. Is there a solution or alternative methods to change the time period after a Hyper table’s retention policy is set?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Remove data retention policy:
SELECT remove_retention_policy('conditions');
Add retention policy :
SELECT add_retention_policy('conditions', INTERVAL '48 hours');
You can choose the time period for keeping the data before dropping in the time intervals of hypertable. Here we have given 48 hours.