Skip to content

Prepare geocoding-database for nominatim#85

Merged
bo0tzz merged 2 commits into
mainfrom
chore/geocoding-db-tunes
Jul 16, 2024
Merged

Prepare geocoding-database for nominatim#85
bo0tzz merged 2 commits into
mainfrom
chore/geocoding-db-tunes

Conversation

@bo0tzz

@bo0tzz bo0tzz commented Jul 16, 2024

Copy link
Copy Markdown
Member

Ping me after merging so I can make sure the volume resize goes through

@bo0tzz bo0tzz requested a review from zackpollard July 16, 2024 12:08
@github-actions

github-actions Bot commented Jul 16, 2024

Copy link
Copy Markdown
--- kubernetes/apps/pipelines/geocoding/database/app Kustomization: flux-system/geocoding-database Cluster: geocoding/geocoding-database

+++ kubernetes/apps/pipelines/geocoding/database/app Kustomization: flux-system/geocoding-database Cluster: geocoding/geocoding-database

@@ -16,20 +16,24 @@

       - CREATE EXTENSION fuzzystrmatch;
       - CREATE EXTENSION postgis_tiger_geocoder;
   enableSuperuserAccess: true
   imageName: ghcr.io/cloudnative-pg/postgis:16
   postgresql:
     parameters:
+      autovacuum_work_mem: 2GB
       checkpoint_completion_target: '0.9'
-      checkpoint_timeout: 300min
+      checkpoint_timeout: 10min
+      effective_cache_size: 24GB
+      full_page_writes: 'off'
       maintenance_work_mem: 10GB
       max_wal_senders: '0'
-      max_wal_size: 10GB
+      max_wal_size: 1GB
       random_page_cost: '1.0'
-      shared_buffers: 1GB
+      shared_buffers: 2GB
+      synchronous_commit: 'off'
       work_mem: 50MB
   storage:
-    size: 250Gi
+    size: 1250Gi
     storageClass: zfs
   superuserSecret:
     name: geocoding-database-superuser
 

@bo0tzz bo0tzz merged commit cd21704 into main Jul 16, 2024
@bo0tzz bo0tzz deleted the chore/geocoding-db-tunes branch July 16, 2024 16:21
@bo0tzz bo0tzz restored the chore/geocoding-db-tunes branch July 16, 2024 16:21
@bo0tzz bo0tzz deleted the chore/geocoding-db-tunes branch July 16, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants