Skip to content

Commit 8f9fc45

Browse files
committed
fix: DLE (config.example) add a link to the guide "PostgreSQL configuration in clones"
1 parent 81996b1 commit 8f9fc45

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

engine/configs/config.example.logical_rds_iam.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ databaseConfigs: &db_configs
124124
# Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported.
125125
shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors"
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127-
# To do it, use this query:
128-
# select format($$%s = '%s'$$, name, setting)
129-
# from pg_settings
130-
# where
131-
# name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)'
132-
# or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)'
133-
# or name ~ '(collapse_limit$|parallel|plan_cache_mode)';
127+
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
134128
work_mem: "100MB"
135129
# ... put Query Planning parameters here
136130

engine/configs/config.example.physical_generic.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ databaseConfigs: &db_configs
124124
# Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported.
125125
shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors"
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127-
# To do it, use this query:
128-
# select format($$%s = '%s'$$, name, setting)
129-
# from pg_settings
130-
# where
131-
# name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)'
132-
# or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)'
133-
# or name ~ '(collapse_limit$|parallel|plan_cache_mode)';
127+
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
134128
work_mem: "100MB"
135129
# ... put Query Planning parameters here
136130

engine/configs/config.example.physical_pgbackrest.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ databaseConfigs: &db_configs
124124
# Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported.
125125
shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors"
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127-
# To do it, use this query:
128-
# select format($$%s = '%s'$$, name, setting)
129-
# from pg_settings
130-
# where
131-
# name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)'
132-
# or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)'
133-
# or name ~ '(collapse_limit$|parallel|plan_cache_mode)';
127+
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
134128
work_mem: "100MB"
135129
# ... put Query Planning parameters here
136130

engine/configs/config.example.physical_walg.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ databaseConfigs: &db_configs
124124
# Note, if you are using PostgreSQL 9.6 and older, remove the logerrors extension from the list since it is not supported.
125125
shared_preload_libraries: "pg_stat_statements, pg_stat_kcache, auto_explain, logerrors"
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127-
# To do it, use this query:
128-
# select format($$%s = '%s'$$, name, setting)
129-
# from pg_settings
130-
# where
131-
# name ~ '(work_mem$|^enable_|_cost$|scan_size$|effective_cache_size|^jit)'
132-
# or name ~ '(^geqo|default_statistics_target|constraint_exclusion|cursor_tuple_fraction)'
133-
# or name ~ '(collapse_limit$|parallel|plan_cache_mode)';
127+
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
134128
work_mem: "100MB"
135129
# ... put Query Planning parameters here
136130

0 commit comments

Comments
 (0)