From 9c716e8f505c97ab226ba3a73e3396e0d469349a Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 20 Oct 2021 21:42:36 +0200 Subject: [PATCH] put dulcy in import mode and switch to postgresql 14 --- roles/dulcy.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 3dcad8388..6dfd330a9 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -28,14 +28,14 @@ default_attributes( } }, :postgresql => { - :versions => ["13"], + :versions => ["14"], :settings => { :defaults => { :work_mem => "300MB", :maintenance_work_mem => "10GB", :random_page_cost => "1.5", :effective_cache_size => "60GB", - :fsync => "on", + :fsync => "off", :effective_io_concurrency => "500" } } @@ -45,9 +45,12 @@ default_attributes( :enable_backup => false, :enable_git_updates => true, :dbadmins => %w[lonvia tomh], - :dbcluster => "13/main", + :dbcluster => "14/main", :postgis => "3", :flatnode_file => "/ssd/nominatim/nodes.store", + :config => { + :tokenizer => "icu" + }, :logdir => "/ssd/nominatim/log", :tablespaces => { "dosm" => "/ssd/tablespaces/dosm", -- 2.39.5