From 795874fc219caf5cf47f0f8f310eba6fdf29b1f6 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 9 Apr 2026 23:04:13 +0100 Subject: [PATCH] immich: upgrade to v2.7.3, tune PG for vector search performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bump immich server + ML from v2.6.3 to v2.7.3 - Increase PG shared_buffers to 2GB (memory 3Gi) to prevent clip_index eviction by background jobs - Switch DB_STORAGE_TYPE to SSD (effective_io_concurrency=200, random_page_cost=1.2) - Add pg_prewarm autoprewarm for warm restarts - Add postgresql.override.conf via init container for tuning - Add postStart hook to prewarm vector tables on startup Search latency: ~1.3s → ~130ms (external), ~60ms (internal) --- stacks/immich/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacks/immich/main.tf b/stacks/immich/main.tf index 6865a1f6..f6c0744e 100644 --- a/stacks/immich/main.tf +++ b/stacks/immich/main.tf @@ -15,7 +15,7 @@ locals { variable "immich_version" { type = string # Change me to upgrade - default = "v2.6.3" + default = "v2.7.3" } variable "nfs_server" { type = string } variable "redis_host" { type = string }