{"id":12868,"date":"2019-10-30T15:17:35","date_gmt":"2019-10-30T14:17:35","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/"},"modified":"2024-09-10T17:37:45","modified_gmt":"2024-09-10T15:37:45","slug":"patroni-operations-changing-parameters","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/","title":{"rendered":"Patroni Operations &#8211; Changing Parameters"},"content":{"rendered":"<p>Sooner or later all of us have to change a parameter on the database. But how is this put into execution when using a Patroni cluster? Of course there are some specifics you have to consider.<br \/>\nThis post will give you a short introduction into this topic.<br \/>\n<!--more--><\/p>\n<p>When you want to change a parameter on a <a href=\"https:\/\/github.com\/zalando\/patroni\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\"> Patroni<\/a> cluster you have several possibilities:<br \/>\n&#8211; Dynamic configuration in DCS. These changes are applied asynchronously to every node.<br \/>\n&#8211; Local configuration in patroni.yml. This will take precedence over the dynamic configuration.<br \/>\n&#8211; Cluster configuration using &#8220;alter system&#8221;.<br \/>\n&#8211; Environment configuration using local environment variables.<\/p>\n<h3> Change PostgreSQL parameters using patronictl <\/h3>\n<h4> 1. Change parameters, that do not need a restart<\/h4>\n<p>If you want to change a parameter (or more) for the whole cluster, you should use patronictl. If you want to change the initial configuration as well, you should also adjust patroni.yml.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl edit-config PG1\n<\/pre>\n<p>All parameters already set are shown and can be changed like in any other file using the vi commands:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">postgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl edit-config PG1\n\nloop_wait: 10\nmaximum_lag_on_failover: 1048576\npostgresql:\n  parameters:\n    archive_command: \/bin\/true\n    archive_mode: 'on'\n    autovacuum_max_workers: '6'\n    autovacuum_vacuum_scale_factor: '0.1'\n    autovacuum_vacuum_threshold: '50'\n    client_min_messages: WARNING\n    effective_cache_size: 512MB\n    hot_standby: 'on'\n    hot_standby_feedback: 'on'\n    listen_addresses: '*'\n    log_autovacuum_min_duration: 60s\n    log_checkpoints: 'on'\n    log_connections: 'on'\n    log_directory: pg_log\n    log_disconnections: 'on'\n    log_duration: 'on'\n    log_filename: postgresql-%a.log\n    log_line_prefix: '%m - %l - %p - %h - %u@%d - %x'\n    log_lock_waits: 'on'\n    log_min_duration_statement: 30s\n    log_min_error_statement: NOTICE\n    log_min_messages: WARNING\n    log_rotation_age: '1440'\n    log_statement: ddl\n    log_temp_files: '0'\n    log_timezone: Europe\/Zurich\n    log_truncate_on_rotation: 'on'\n    logging_collector: 'on'\n    maintenance_work_mem: 64MB\n    max_replication_slots: 10\n    max_wal_senders: '20'\n    port: 5432\n    shared_buffers: 128MB\n    shared_preload_libraries: pg_stat_statements\n    wal_compression: 'off'\n    wal_keep_segments: 8\n    wal_level: replica\n    wal_log_hints: 'on'\n    work_mem: 8MB\n  use_pg_rewind: true\n  use_slots: true\nretry_timeout: 10\nttl: 30\n<\/pre>\n<p>Once saved, you get the following:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n---\n+++\n@@ -2,7 +2,8 @@\n maximum_lag_on_failover: 1048576\n postgresql:\n   parameters:\n-    archive_command: \/bin\/true\n+    archive_command: 'test ! -f \/u99\/pgdata\/PG1\/archived_wal\/%f &amp;&amp; cp %p \/u99\/pgdata\/PG1\/archived_wal\/%f'\n     archive_mode: 'on'\n     autovacuum_max_workers: '6'\n     autovacuum_vacuum_scale_factor: '0.1'\n\nApply these changes? [y\/N]: y\nConfiguration changed\n<\/pre>\n<p>When connecting to the database you will see, that the parameter is changed now. It is also changed on all the other nodes.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\"> postgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] sq\npsql (11.5)\nType \"help\" for help.\n\npostgres=# show archive_command;\n                                  archive_command\n------------------------------------------------------------------------------------\n test ! -f \/u99\/pgdata\/PG1\/archived_wal\/%f &amp;&amp; cp %p \/u99\/pgdata\/PG1\/archived_wal\/%f\n(1 row)\n<\/pre>\n<h4>2. Change parameters, that need a restart<\/h4>\n<p>How can parameters be changed that need a restart? Especially as we want to have a minimal downtime of the cluster.<br \/>\nFirst of all the parameter can be changed the same way as the parameters that do not need a restart using patronictl edit-config. Once the parameter is changed the status overview of the cluster gets a new column showing which node needs a restart.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl list\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB | Pending restart |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |        *        |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |        *        |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |        *        |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n<\/pre>\n<p>Afterwards there are two possibilites.<\/p>\n<h5>2.1 Restart node by node<\/h5>\n<p>If you do not want to restart the whole cluster, you have the possibility to restart each node separatly. Keep in mind, that you have to restart the Leader Node first, otherwise the change does not take effect. It is also possible to schedule the restart of a node.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl restart PG1 patroni1\nWhen should the restart take place (e.g. 2019-10-08T15:33)  [now]:\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB | Pending restart |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |        *        |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |        *        |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |        *        |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\nAre you sure you want to restart members patroni1? [y\/N]: y\nRestart if the PostgreSQL version is less than provided (e.g. 9.5.2)  []:\nSuccess: restart on member patroni1\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl restart PG1 patroni2\nWhen should the restart take place (e.g. 2019-10-08T15:34)  [now]:\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB | Pending restart |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |                 |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |        *        |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |        *        |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\nAre you sure you want to restart members patroni2? [y\/N]: y\nRestart if the PostgreSQL version is less than provided (e.g. 9.5.2)  []:\nSuccess: restart on member patroni2\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl restart PG1 patroni3\nWhen should the restart take place (e.g. 2019-10-08T15:34)  [now]:\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB | Pending restart |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |                 |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |                 |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |        *        |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\nAre you sure you want to restart members patroni3? [y\/N]: y\nRestart if the PostgreSQL version is less than provided (e.g. 9.5.2)  []:\nSuccess: restart on member patroni3\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl list\n+---------+----------+----------------+--------+---------+----+-----------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB |\n+---------+----------+----------------+--------+---------+----+-----------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |\n+---------+----------+----------------+--------+---------+----+-----------+\n<\/pre>\n<h5>2.2 Restart the whole cluster<\/h5>\n<p>In case you don&#8217;t want to restart node by node and you have the possibility of a downtime, it is also possible to restart the whole cluster (scheduled or immediately)<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl restart PG1\nWhen should the restart take place (e.g. 2019-10-08T15:37)  [now]:\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB | Pending restart |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |        *        |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |        *        |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |        *        |\n+---------+----------+----------------+--------+---------+----+-----------+-----------------+\nAre you sure you want to restart members patroni1, patroni2, patroni3? [y\/N]: y\nRestart if the PostgreSQL version is less than provided (e.g. 9.5.2)  []:\nSuccess: restart on member patroni1\nSuccess: restart on member patroni2\nSuccess: restart on member patroni3\npostgres@patroni1:\/u01\/app\/postgres\/local\/dmk\/etc\/ [PG1] patronictl list\n+---------+----------+----------------+--------+---------+----+-----------+\n| Cluster |  Member  |      Host      |  Role  |  State  | TL | Lag in MB |\n+---------+----------+----------------+--------+---------+----+-----------+\n|   PG1   | patroni1 | 192.168.22.111 | Leader | running |  4 |       0.0 |\n|   PG1   | patroni2 | 192.168.22.112 |        | running |  4 |       0.0 |\n|   PG1   | patroni3 | 192.168.22.113 |        | running |  4 |       0.0 |\n+---------+----------+----------------+--------+---------+----+-----------+\n<\/pre>\n<h3> Change PostgreSQL parameters using &#8220;alter system&#8221;<\/h3>\n<p>Of course you can change a parameter only on one node using &#8220;alter system&#8221;, too.<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">\n postgres@patroni1:\/home\/postgres\/ [PG1] sq\npsql (11.5)\nType \"help\" for help.\n\npostgres=# show archive_Command;\n archive_command\n-----------------\n \/bin\/false\n(1 row)\n\npostgres=# alter system set archive_command='\/bin\/true';\nALTER SYSTEM\n\npostgres=# select pg_reload_conf();\n pg_reload_conf\n----------------\n t\n(1 row)\n\npostgres=# show archive_command;\n archive_command\n-----------------\n \/bin\/true\n(1 row)\n<\/pre>\n<p>For sure the parameter change is not automatically applied to the replicas. The parameter is only changed on that node. All the other nodes will keep the value from the DCS. So you can change the parameter using &#8220;patronictl edit-config&#8221; or with an &#8220;alter system&#8221; command on each node. But: you also have to keep in mind the order in which the parameters are applied. The &#8220;alter system&#8221; change will persist the &#8220;patronictl edit-config&#8221; command.<\/p>\n<h3> Conclusion <\/h3>\n<p>So if you consider that there are some specialities when changing parameters in a Patroni cluster, it is quite easy to change a parameter. There are some parameters that need the same value on all nodes, e.g. max_connections, max_worker_processes, wal_level. And there are as well some parameters controlled by patroni, e.g listen_addresses and port. For a more details check the <a href=\"https:\/\/patroni.readthedocs.io\/en\/latest\/dynamic_configuration.html#patroni-configuration\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\"> Patroni documentation <\/a>. And last but not least: If you change the configuration with patronictl and one node still has another configuration. Look for a postgresql.auto.conf in the PGDATA directory. Maybe there you can find the reason for different parameters on your nodes.<br \/>\nIf you are interested in more &#8220;Patroni Operations&#8221; blogs, check also this one  <a href=\"https:\/\/www.dbi-services.com\/blog\/patroni-operations-switchover-and-failover\/\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\"> Patroni operations: Switchover and Failover<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sooner or later all of us have to change a parameter on the database. But how is this put into execution when using a Patroni cluster? Of course there are some specifics you have to consider. This post will give you a short introduction into this topic.<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,198,83],"tags":[84,1710,1543,77],"type_dbi":[],"class_list":["post-12868","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-database-management","category-postgresql","tag-high-availability","tag-parameter-change","tag-patroni","tag-postgresql"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Patroni Operations - Changing Parameters - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Patroni Operations - Changing Parameters\" \/>\n<meta property=\"og:description\" content=\"Sooner or later all of us have to change a parameter on the database. But how is this put into execution when using a Patroni cluster? Of course there are some specifics you have to consider. This post will give you a short introduction into this topic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-30T14:17:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T15:37:45+00:00\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/59554f0d99383431eb6ed427e338952b\"},\"headline\":\"Patroni Operations &#8211; Changing Parameters\",\"datePublished\":\"2019-10-30T14:17:35+00:00\",\"dateModified\":\"2024-09-10T15:37:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/\"},\"wordCount\":591,\"commentCount\":1,\"keywords\":[\"High availability\",\"parameter change\",\"Patroni\",\"PostgreSQL\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"Database management\",\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/\",\"name\":\"Patroni Operations - Changing Parameters - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2019-10-30T14:17:35+00:00\",\"dateModified\":\"2024-09-10T15:37:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/59554f0d99383431eb6ed427e338952b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/patroni-operations-changing-parameters\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Patroni Operations &#8211; Changing Parameters\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/59554f0d99383431eb6ed427e338952b\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"caption\":\"Open source Team\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/open-source-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Patroni Operations - Changing Parameters - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/","og_locale":"en_US","og_type":"article","og_title":"Patroni Operations - Changing Parameters","og_description":"Sooner or later all of us have to change a parameter on the database. But how is this put into execution when using a Patroni cluster? Of course there are some specifics you have to consider. This post will give you a short introduction into this topic.","og_url":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/","og_site_name":"dbi Blog","article_published_time":"2019-10-30T14:17:35+00:00","article_modified_time":"2024-09-10T15:37:45+00:00","author":"Open source Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Open source Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"headline":"Patroni Operations &#8211; Changing Parameters","datePublished":"2019-10-30T14:17:35+00:00","dateModified":"2024-09-10T15:37:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/"},"wordCount":591,"commentCount":1,"keywords":["High availability","parameter change","Patroni","PostgreSQL"],"articleSection":["Database Administration &amp; Monitoring","Database management","PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/","url":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/","name":"Patroni Operations - Changing Parameters - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2019-10-30T14:17:35+00:00","dateModified":"2024-09-10T15:37:45+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/patroni-operations-changing-parameters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Patroni Operations &#8211; Changing Parameters"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","caption":"Open source Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=12868"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12868\/revisions"}],"predecessor-version":[{"id":34702,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/12868\/revisions\/34702"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=12868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=12868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=12868"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=12868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}