Skip to content
Snippets Groups Projects
Commit 3fc5bcd9 authored by Nikolay Samokhvalov's avatar Nikolay Samokhvalov :elephant:
Browse files

Merge branch 'pg-stat-kcache' into 'master'

config.example: add pg_stat_kcache to shared_preload_libraries (required for observation)

See merge request !522
parents 658b2f0d f5534a86
No related branches found
No related tags found
1 merge request!522config.example: add pg_stat_kcache to shared_preload_libraries (required for observation)
Pipeline #540308090 passed
......@@ -122,7 +122,7 @@ databaseConfigs: &db_configs
# Adding shared preload libraries, make sure that there are "pg_stat_statements, auto_explain, logerrors" in the list.
# They are needed for query analysis and DB migration testing.
# 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, auto_explain, logerrors"
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.
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
work_mem: "100MB"
......
......@@ -122,7 +122,7 @@ databaseConfigs: &db_configs
# Adding shared preload libraries, make sure that there are "pg_stat_statements, auto_explain, logerrors" in the list.
# It is necessary to perform query and db migration analysis.
# 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, auto_explain, logerrors"
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)
......
......@@ -122,7 +122,7 @@ databaseConfigs: &db_configs
# Adding shared preload libraries, make sure that there are "pg_stat_statements, auto_explain, logerrors" in the list.
# It is necessary to perform query and db migration analysis.
# 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, auto_explain, logerrors"
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)
......
......@@ -122,7 +122,7 @@ databaseConfigs: &db_configs
# Adding shared preload libraries, make sure that there are "pg_stat_statements, auto_explain, logerrors" in the list.
# It is necessary to perform query and db migration analysis.
# 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, auto_explain, logerrors"
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)
......
......@@ -122,7 +122,7 @@ databaseConfigs: &db_configs
# Adding shared preload libraries, make sure that there are "pg_stat_statements, auto_explain, logerrors" in the list.
# It is necessary to perform query and db migration analysis.
# 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, auto_explain, logerrors"
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment