Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ot86e-00021n-Hn for pgsql-admin@arkaria.postgresql.org; Thu, 10 Nov 2022 14:00:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ot86b-0003i5-FY for pgsql-admin@arkaria.postgresql.org; Thu, 10 Nov 2022 14:00:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ot86b-0003hw-3E for pgsql-admin@lists.postgresql.org; Thu, 10 Nov 2022 14:00:33 +0000 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ot86U-0004Vg-ON for pgsql-admin@lists.postgresql.org; Thu, 10 Nov 2022 14:00:32 +0000 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-13c569e5ff5so2223103fac.6 for ; Thu, 10 Nov 2022 06:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=WqXYXdtorUgEic2qbZC/sgcvxc4Hn6Xcy9CQKiUZaWo=; b=YMTDn9ghPHk5oyIMA5AVCfT4SYZh2qzooFQynvnhJTsuRk9Y5SqqeNoX5qD/HNjR2m SwnmLCiM0C6KodmH9k6OzVW5Jmn5jOLQrJctJUsArnBMrONucJtJWgm9VsxRl0WdBHCJ /G07zHEl7+xaElYKICqiNyOyqOFLLcUP3Xl7Ts4Hnl4k7io3LMfYh3YWL/aR/Nnt2GEJ jiGLJz/vQYj5bmwRFmecyZB1JTzF8OScvwhaUBfuKRuAauEXNuuQNUsHhWICR8jsWUQy FRi20azN8d7lRC0R+CsocdlfrmwH8aMBkWdEFZbti/t9mSgz6uZ3OYbm+oY7MhvlYIfL atOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WqXYXdtorUgEic2qbZC/sgcvxc4Hn6Xcy9CQKiUZaWo=; b=G4AlDq3pHQC5asZB7jKZ+YDqloXLqAt4/mMH0bSYjMy0lnVxkKsVfHiRHYP8bSXIAd jfkAyvOhOI8thtMxNYzX44aASYjH1rT7JicTS8ZozFMm4lDXmV8ACdunI1C4AR0Ub864 NT0c0wEGwzsJnoBD9zTPzAN7hYFw1X6mV32lN8uPdouUHcpwggGTtXFIVKIllGZcNbCc 1yfkxCMU3VJ5sz3Zd2lW7kWSjCYV+ifCyKhA0OrIULVbNFbic4glujSvH9ogIZVANW3Y LgKBW83XX+69kvqJXyW51hkfFFn8rNmXOxwXnV3x7Rp4wZbJhmJtsRi959UdVMK5WzPQ BX+Q== X-Gm-Message-State: ACrzQf0GC3v5TduXqe8m8VD6C9bWi/itH9K/Sdb5cNAjszmHLu2/JTkX R8H8EZfaYIRAG2R9znC5o9TXOQTHjsg= X-Google-Smtp-Source: AMsMyM7Syy55YIEs6cW9/zu8gdJQe8dbNTkXKEI6yT+sMHXEeEft28TUOHWkXlIYrfUdXriVbYLeHg== X-Received: by 2002:a05:6870:d59d:b0:13c:e933:28a0 with SMTP id u29-20020a056870d59d00b0013ce93328a0mr1512847oao.180.1668088824450; Thu, 10 Nov 2022 06:00:24 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id 5-20020a9d0685000000b0066c47384ffesm6307644otx.74.2022.11.10.06.00.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 06:00:23 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 08:00:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: WAL Async Replication Question To: pgsql-admin@lists.postgresql.org References: Content-Language: en-US From: Ron In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/10/22 02:27, KK CHN wrote: > List, > > I've done   WAL async replication  between two  Postgre servers in Pirmary > and Standby node as a test bed on two Virtual Machines on CentOS 8. > Postgres12. > > Now I want to do the same WAL replication on a  Production Postgres  > server to a new standby server. > > Is there a way to do configurations for WAL async replication on  primary > server without affecting the customers / applications that depend on this > primary DB server? > > As it is a production server,  any changes we make to configuration files > may affect the services right ?  or what unseen problems can arise in this > use  case? > > How to minimize the downtime / without service interruptions from the > Primary server while doing WAL replication to a Standby server. As long as "wal_level = replica" (which is the default) you do not need to stop and restart the Primary instance.  Testing should have demonstrated that to you. -- Angular momentum makes the world go 'round.