-
-
Notifications
You must be signed in to change notification settings - Fork 467
[Feature Request]: Set database to WAL mode #991
Copy link
Copy link
Open
Labels
TagStudio: LibraryRelating to the TagStudio library systemRelating to the TagStudio library systemType: FeatureNew feature or requestNew feature or requestType: File SystemFile system interactionsFile system interactionsType: PerformanceAn issue or change related to performanceAn issue or change related to performanceType: QoLA quality of life (QoL) enhancement or suggestionA quality of life (QoL) enhancement or suggestion
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
TagStudio: LibraryRelating to the TagStudio library systemRelating to the TagStudio library systemType: FeatureNew feature or requestNew feature or requestType: File SystemFile system interactionsFile system interactionsType: PerformanceAn issue or change related to performanceAn issue or change related to performanceType: QoLA quality of life (QoL) enhancement or suggestionA quality of life (QoL) enhancement or suggestion
Type
Projects
- StatusShow more project fields🚧 In progress
Checklist
Description
This is a pretty nerdy request, but would it possible to set the underlying sqlite database to use Write-Ahead Logging? This doesn't provide any benefits to the app, but would allow external programs to read and edit the database at the same time that the app is open without being scared of corrupting it
This may also prevent breakage in case multiple instances of TagStudio are open on the same library (I don't know if there's anything that prevent this already, but having multiple layers is always nice)
Solution
Set the database connection to wal mode on creation and migrate existing databases to use the new mode
Alternatives
No response