-
Notifications
You must be signed in to change notification settings - Fork 158
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
The size of the database explodes when PostgreSQL uses the archive log. #2353
Comments
In my case the database itself will be 3GB, but when the updater runs(and find updates), on every run 17GB wal archive logs are generated. |
We are currently investigating a solution for this problem, no ETA yet. |
I've created #2355 to limit the size of certain INSERT queries that were getting very large and there will be another patch release of gvmd once this is merged. |
Hi @timopollmeier,
After the feed update
Before:
|
Hi @mdc-webdb, as we don't use the wal archive mode (at least not at the moment) we don't have a solution for your issue. If you have ideas on how to improve the situation, let us know in this issue. Maybe we can take another look into it again. Until then I am sorry but we wont be able to fix it. |
Hi @bjoernricks, |
Whenever the feeds are updated,
the entire database is rewritten instead of just the changes. This leads to an extreme use of space on the database server if the wal archive mode is used. However, this is a prerequisite for incremental database backups.
The text was updated successfully, but these errors were encountered: