Experiment with improving sqlite performance

- Auto vacuum to write more often to the db file. Should prevent backing
  up the database and finding missing data.
- Create temporary indexes in memory - should be faster than disk
This commit is contained in:
Claudio Ortolina
2025-09-02 14:30:27 +03:00
parent c1c94e478e
commit 3519326c1a
+2
View File
@@ -33,6 +33,8 @@ if timezone = System.get_env("TIMEZONE") do
end
config :music_library, MusicLibrary.Repo,
auto_vacuum: :incremental,
temp_store: :memory,
load_extensions: [
MusicLibrary.Repo.extension_path("unicode")
]