Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFFvJ-00C9HH-Ji for pgsql-general@arkaria.postgresql.org; Sun, 24 Nov 2024 16:57:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFFvI-008fWs-6S for pgsql-general@arkaria.postgresql.org; Sun, 24 Nov 2024 16:57:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFFvH-008fWe-RR for pgsql-general@lists.postgresql.org; Sun, 24 Nov 2024 16:57:23 +0000 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tFFvF-003co9-MS for pgsql-general@postgresql.org; Sun, 24 Nov 2024 16:57:23 +0000 Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5ee3c2e79aaso1692041eaf.3 for ; Sun, 24 Nov 2024 08:57:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732467439; x=1733072239; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=KqXVPrpa/3VRL9mda7BH0hNahq9oxgeB79M80oDOOXc=; b=X8JYkjs7tXySZKrjiX3hi9eECB4x02lqO1/SyZXTW3hMAwPvtiA2UZ9pdvyU1zSdAp s1I7bJZ9ES2EVeAxLzPOp85VQkA88h6WpR2FgsFw+68hYW/Bz4XZYPfvVXg9Ai6YnNnN KtDPvrIc6YOkQ4QKq9MlthyNj2vOcClx1bbfUezccmI3B4NfrB84WvJoOFIfp9JWg7Da ZoYdRHp+CFkVn4pZj9nfsPiudfpTjae/ezN4gYFuPiyIRhxkSfoCW9SuIGzIC5CvSFbR 7k42oymcjMWDbdFC/4yR1BII8neDhheMjMARtrUIw8XOdfYRlDzwYLMm2/ueY2htJcYA vVow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732467439; x=1733072239; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KqXVPrpa/3VRL9mda7BH0hNahq9oxgeB79M80oDOOXc=; b=Kef7jmRBehX+bpyk6DbdoBLXD3sePRAmETYxDMv1nbbnhpYs0gpQt5oK0a1GIgg1ZI 1svR6/pD/9lXngqYyfGbSL44CuJHy4T0wuIkAsVXVptAhP4G9WJNj73gzdkZiDKZpRFy H7+iG65O5KjkCqm4/sc87ndFbB7QhWm3+Ub25M4G2OU7rhAq13dPJN63YTP6C2bSSCdS Qc6oS3MdO9ELPp43lKLB4cCWNGiRvwRHrMm6TXWacqnVQClunfUxRCRdKc8m80JMrSlH X+rdzsdamozbieskun3+86uNuVj88H6vX3cn8lYu7s05snHQ1SE72DdK19WFsAMYVpSM sntg== X-Gm-Message-State: AOJu0YySkpxWmd68BMuA/f7MQ8lchGHdP+pZkWjZWWfjy9ItqYju5Ay1 CZ1Cx4RKFy3OsD7vvhCuk+27T2PgNxkFyz+gAHXR0iJpCc0n9bAXUWaoAFtThPfvQCTgiR3M0z2 Y3nTjntNeBzdtnoB/PiktK3vwgnNNdAGJ X-Gm-Gg: ASbGncuYyzEzdVZt01SNu220C7cDVOJ0aG72novXkGUMqxY79WQFIyQjRKVw5CvALrl hhZs6OVRR/UFfUVUqcE9C3Ehp6QWs6je5 X-Google-Smtp-Source: AGHT+IFrl8M8JDmBAeVauEXDLrhKQzwGAzP5qXg/tBefy20KOtgsc+AgD0iZ4E1mOuQSy08y3M2YuEPnJ/EvsHN4RfQ= X-Received: by 2002:a05:6830:ed2:b0:710:ec4a:b394 with SMTP id 46e09a7af769-71c04cef240mr7744701a34.29.1732467439398; Sun, 24 Nov 2024 08:57:19 -0800 (PST) MIME-Version: 1.0 References: <6c498f0e-64f9-449a-9b90-5cd72d00e2ef@aklaver.com> <2a7d96ac-83a7-4ddc-a3ce-9c637f2c1c76@aklaver.com> In-Reply-To: From: Ron Johnson Date: Sun, 24 Nov 2024 11:57:08 -0500 Message-ID: Subject: Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication To: pgsql-general Content-Type: multipart/alternative; boundary="0000000000004f76b50627ab8262" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004f76b50627ab8262 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Nov 24, 2024 at 11:52=E2=80=AFAM Subhash Udata wrote: > I understand your point and appreciate the clarification. > > I have reviewed the references and now have a better understanding of the > minor upgrade process. > > However, my concern lies in the fact that we are working with production > servers, where downtime is not acceptable. > > Additionally, if a failover occurs due to a network issue or any other > disaster, setting up replication again requires running the pg_basebackup > command. For large databases, this process becomes a significant challeng= e, > as running pg_basebackup for the entire cluster can be time-consuming and > resource-intensive. > A comment and a question: 1) pg_basebackup runs just fine from cron. Thus, "time-consuming" (which you described as 2-3 hours) isn't that critical. 2) What do you mean by resource-intensive? If it means network bandwidth, then read the pg_basebackup man page. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000004f76b50627ab8262 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Nov 24, 2024 at 11:52=E2=80=AFAM = Subhash Udata <subhashudata@gm= ail.com> wrote:

I unders= tand your point and appreciate the clarification.

I have reviewed the= references and now have a better understanding of the minor upgrade proces= s.

However, my concern lies in the fact that we are working with prod= uction servers, where downtime is not acceptable.

Additionally, if a = failover occurs due to a network issue or any other disaster, setting up re= plication again requires running the pg_basebackup command. Fo= r large databases, this process becomes a significant challenge, as running= pg_basebackup for the entire cluster can be time-consuming an= d resource-intensive.


A com= ment and a question:
1) pg_basebackup runs just = fine from cron.=C2=A0 Thus, "time-consuming" (which you described= as 2-3 hours) isn't that critical.
2) What do you mean by re= source-intensive?=C2=A0 If it means network bandwidth, then read the pg_bas= ebackup man page.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'= m still alive.
<Redacted> lobster!
--0000000000004f76b50627ab8262--