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

Deploy pg_repack #544

Open
ChrisLovering opened this issue Sep 11, 2024 · 2 comments · May be fixed by #546
Open

Deploy pg_repack #544

ChrisLovering opened this issue Sep 11, 2024 · 2 comments · May be fixed by #546
Labels
component: database An issue relating to storage of data in one of our databases (e.g. PostgreSQL, Redis, MongoDB) group: ansible Issues and pull requests related to the Ansible setup status: approved

Comments

@ChrisLovering
Copy link
Member

pg_repack is a great tool for removing table bloat.

Debian has postgresql-15-repack available on apt. We should install this and ensure the extension exists on all databases defined in the postgres role (CREATE EXTENSION pg_repack).

@ChrisLovering ChrisLovering added component: database An issue relating to storage of data in one of our databases (e.g. PostgreSQL, Redis, MongoDB) status: approved group: ansible Issues and pull requests related to the Ansible setup labels Sep 11, 2024
@jchristgit
Copy link
Member

jchristgit commented Sep 12, 2024 via email

@ChrisLovering
Copy link
Member Author

Yeah I thought about adding a cron for it, but wasn't sure. Maybe we could jsut do one weekly?

@ChrisLovering ChrisLovering linked a pull request Sep 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: database An issue relating to storage of data in one of our databases (e.g. PostgreSQL, Redis, MongoDB) group: ansible Issues and pull requests related to the Ansible setup status: approved
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants