From 6faee36b32113aa5041487bdca06213891c56df6 Mon Sep 17 00:00:00 2001 From: Arunprasad Rajkumar Date: Tue, 26 Nov 2024 15:53:52 +0530 Subject: [PATCH] Fix typo in wal_sender_timeout recommendation (#3621) Signed-off-by: Arunprasad Rajkumar --- _partials/_migrate_live_migrate_faq_all.md | 8 ++++---- _partials/_migrate_live_tune_source_database.md | 10 +++++----- _partials/_migrate_live_tune_source_database_awsrds.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_partials/_migrate_live_migrate_faq_all.md b/_partials/_migrate_live_migrate_faq_all.md index 60afd8dab5..9de2535d6f 100644 --- a/_partials/_migrate_live_migrate_faq_all.md +++ b/_partials/_migrate_live_migrate_faq_all.md @@ -90,10 +90,10 @@ This rare phenomenon may happen when: following GUCs to the recommended values on the source RDS instance. ```shell - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_count=60' - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_idle=10' - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_interval=10' - psql -X -d $SOURCE -c 'alter system set wal_sender_timeout=30m' + psql -X -d $SOURCE -c "alter system set tcp_keepalives_count=60" + psql -X -d $SOURCE -c "alter system set tcp_keepalives_idle=10" + psql -X -d $SOURCE -c "alter system set tcp_keepalives_interval=10" + psql -X -d $SOURCE -c "alter system set wal_sender_timeout='30min'" ``` For more information, see [https://github.com/dimitri/pgcopydb/issues/773#issuecomment-2139093365](https://github.com/dimitri/pgcopydb/issues/773#issuecomment-2139093365) diff --git a/_partials/_migrate_live_tune_source_database.md b/_partials/_migrate_live_tune_source_database.md index d5642cddf0..556af7def8 100644 --- a/_partials/_migrate_live_tune_source_database.md +++ b/_partials/_migrate_live_tune_source_database.md @@ -18,10 +18,10 @@ a managed service, follow the instructions in the `From MST` tab on this page. 1. **Tune system messaging** ```shell - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_count=60' - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_idle=10' - psql -X -d $SOURCE -c 'alter system set tcp_keepalives_interval=10' - psql -X -d $SOURCE -c 'alter system set wal_sender_timeout=30m' + psql -X -d $SOURCE -c "alter system set tcp_keepalives_count=60" + psql -X -d $SOURCE -c "alter system set tcp_keepalives_idle=10" + psql -X -d $SOURCE -c "alter system set tcp_keepalives_interval=10" + psql -X -d $SOURCE -c "alter system set wal_sender_timeout='30min'" ``` 1. **Restart the source database** @@ -33,4 +33,4 @@ a managed service, follow the instructions in the `From MST` tab on this page. -[install-wal2json]: https://github.com/eulerto/wal2json \ No newline at end of file +[install-wal2json]: https://github.com/eulerto/wal2json diff --git a/_partials/_migrate_live_tune_source_database_awsrds.md b/_partials/_migrate_live_tune_source_database_awsrds.md index 7dded7988d..f60bf27c1d 100644 --- a/_partials/_migrate_live_tune_source_database_awsrds.md +++ b/_partials/_migrate_live_tune_source_database_awsrds.md @@ -25,7 +25,7 @@ Updating parameters on a PostgreSQL instance will cause an outage. Choose a time - `tcp_keepalives_count` set to `60`: the number of messages that can be lost before the client is considered dead. - `tcp_keepalives_idle` set to `10`: the amount of time with no network activity before the IS sends a TCP keepalive message to the client. - `tcp_keepalives_interval` set to `10`: the amount of time before a unacknowledged TCP keepalive message is restransmitted. - - `wal_sender_timeout` set to `30m`: the maximum time to wait for WAL replication. + - `wal_sender_timeout` set to `30min`: the maximum time to wait for WAL replication. 1. In RDS, navigate back to your [databases][databases], select the RDS instance to migrate and click `Modify`.