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:
@@ -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")
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user