From 3e4c1d8c276835a7a67c15dd8ecb31fbc11bfaa0 Mon Sep 17 00:00:00 2001 From: Vitaliy Kukharik Date: Thu, 14 Jul 2022 18:33:17 +0300 Subject: [PATCH] add a link to the guide "PostgreSQL configuration in clones" --- engine/configs/config.example.logical_rds_iam.yml | 8 +------- engine/configs/config.example.physical_generic.yml | 8 +------- engine/configs/config.example.physical_pgbackrest.yml | 8 +------- engine/configs/config.example.physical_walg.yml | 8 +------- 4 files changed, 4 insertions(+), 28 deletions(-) diff --git a/engine/configs/config.example.logical_rds_iam.yml b/engine/configs/config.example.logical_rds_iam.yml index 1337ae57c..d738f5ef2 100644 --- a/engine/configs/config.example.logical_rds_iam.yml +++ b/engine/configs/config.example.logical_rds_iam.yml @@ -124,13 +124,7 @@ databaseConfigs: &db_configs # Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported. shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors" # work_mem and all the Query Planning parameters – copy the values from the source. - # To do it, use this query: - # select format($$%s = '%s'$$, name, setting) - # from pg_settings - # where - # name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)' - # or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)' - # or name ~ '(collapse_limit$|parallel|plan_cache_mode)'; + # Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones work_mem: "100MB" # ... put Query Planning parameters here diff --git a/engine/configs/config.example.physical_generic.yml b/engine/configs/config.example.physical_generic.yml index df15ee63f..8cb82a707 100644 --- a/engine/configs/config.example.physical_generic.yml +++ b/engine/configs/config.example.physical_generic.yml @@ -124,13 +124,7 @@ databaseConfigs: &db_configs # Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported. shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors" # work_mem and all the Query Planning parameters – copy the values from the source. - # To do it, use this query: - # select format($$%s = '%s'$$, name, setting) - # from pg_settings - # where - # name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)' - # or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)' - # or name ~ '(collapse_limit$|parallel|plan_cache_mode)'; + # Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones work_mem: "100MB" # ... put Query Planning parameters here diff --git a/engine/configs/config.example.physical_pgbackrest.yml b/engine/configs/config.example.physical_pgbackrest.yml index 0a1642b94..442465363 100644 --- a/engine/configs/config.example.physical_pgbackrest.yml +++ b/engine/configs/config.example.physical_pgbackrest.yml @@ -124,13 +124,7 @@ databaseConfigs: &db_configs # Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported. shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors" # work_mem and all the Query Planning parameters – copy the values from the source. - # To do it, use this query: - # select format($$%s = '%s'$$, name, setting) - # from pg_settings - # where - # name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)' - # or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)' - # or name ~ '(collapse_limit$|parallel|plan_cache_mode)'; + # Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones work_mem: "100MB" # ... put Query Planning parameters here diff --git a/engine/configs/config.example.physical_walg.yml b/engine/configs/config.example.physical_walg.yml index 1dc860bf5..c7a4e4b90 100644 --- a/engine/configs/config.example.physical_walg.yml +++ b/engine/configs/config.example.physical_walg.yml @@ -124,13 +124,7 @@ databaseConfigs: &db_configs # Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported. shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors" # work_mem and all the Query Planning parameters – copy the values from the source. - # To do it, use this query: - # select format($$%s = '%s'$$, name, setting) - # from pg_settings - # where - # name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)' - # or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)' - # or name ~ '(collapse_limit$|parallel|plan_cache_mode)'; + # Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones work_mem: "100MB" # ... put Query Planning parameters here -- GitLab