Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enhance time retention policy in Postgres #2689

Closed
Tracked by #3072
Ivansete-status opened this issue May 9, 2024 · 0 comments · Fixed by #2687
Closed
Tracked by #3072

chore: enhance time retention policy in Postgres #2689

Ivansete-status opened this issue May 9, 2024 · 0 comments · Fixed by #2687

Comments

@Ivansete-status
Copy link
Collaborator

Ivansete-status commented May 9, 2024

Background

The current retention policy in Postgres just deletes old rows and therefore, the disk space occupied by the database remains the same. In this task, we are going to also remove older partitions so that we can effectively reduce the database size in disk.

Nowadays the dataset is split into 1-hour partitions and by removing them we achieve the actual disk size to be reduced.

Enhance retention policy in Postgres

Acceptance criteria

The database size should get reduced when the "time" retention policy is applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants