From 9c353cb84d264ed1415aae8944f5fcec7f773d53 Mon Sep 17 00:00:00 2001 From: itepechi <72330683+itepechi@users.noreply.github.com> Date: Fri, 3 Nov 2023 05:54:53 +0900 Subject: [PATCH] Added a guide on how to use auto_explain --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 49f25b5c7..c1632168a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,14 @@ services: image: postgres:14-alpine ## Use the following image instead if you want to use PGroonga # image: groonga/pgroonga:3.1.1-alpine-14 + ## Uncomment and tweak these values if necessary + # command: + # - -c + # - session_preload_libraries=auto_explain + # - -c + # - auto_explain.log_min_duration=250ms + # - -c + # - auto_explain.log_analyze=on restart: unless-stopped environment: POSTGRES_DB: akkoma