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

Allow to temporarily disable WAL archiving #415

Open
eberlep opened this issue Aug 19, 2022 · 0 comments
Open

Allow to temporarily disable WAL archiving #415

eberlep opened this issue Aug 19, 2022 · 0 comments

Comments

@eberlep
Copy link
Collaborator

eberlep commented Aug 19, 2022

To reduce the storage size and time needed when importing large amounts of data, especially during database migratinos, it should be possible to temporarily disable the archiving of wals.

A similar thing was proposed to the operator here, but was ultimately supercede by the generic approach of defining pod environment variables within the custom resource.

So we could introduce a new field to our CR called disableWALG, which would in turn cause the postgreslet to override the WALG_S3_BUCKET Environment Variable in the postgresql.acid.zalan.do custom resource.

Additionally, it was proposed to also set numberOfInstances to 1 and set synchronous_commit to false.

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

No branches or pull requests

1 participant