-
Notifications
You must be signed in to change notification settings - Fork 668
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
DB-WAL keeps growing #7646
Comments
This issue has also been identified in a couple of posts at ownCloud Central I have found that if I quit ownCloud client, the db-wal file is removed. I am using Windows Embedded on the system on which I have personally encountered a full drive issue and on Windows 10 I have also confirmed that quitting ownCloud client removes the file. Expected behaviour is that the file is cleaned/removed at some regular interval, depending on it's function. If the file is not needed between multiple synchronisations, then it should be removed as soon as a synchronisation is completed. |
https://www.sqlite.org/wal.html suggests that sqlite checkpointing should be performed periodically. Either automatically ("after 1000 rows" -- which I don't see happening) or manually. As a rule of thumb, I suggest to merge the WAL at least when it reaches 50% of the size of the DB file. |
Any chance that this can be fixed soon? Our wal file grows to a few gigabytes after just a month. I then have to stop the client and start it again which takes over half an hour, where 20 minutes is just the shutdown itself. The other 10 minutes is the discovery of the file system and creating those inotify watchers. |
This allow the creation of checkpoints and fixes the growing wal issue Fixes: #7646
This allow the creation of checkpoints and fixes the growing wal issue Fixes: #7646
This allow the creation of checkpoints and fixes the growing wal issue Fixes: #7646
This allow the creation of checkpoints and fixes the growing wal issue Fixes: #7646
This allow the creation of checkpoints and fixes the growing wal issue Fixes: #7646
Confirmed fixed with testpilotcloud 2.9.0 beta3 on win10
|
Since I have updated to 2.6 the db-wa file keeps growing and it's not cleared after a sync session.
The text was updated successfully, but these errors were encountered: