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 1rUXHu-00BVZ5-DA for pgsql-admin@arkaria.postgresql.org; Mon, 29 Jan 2024 19:27:22 +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 1rUXHt-00Gy8y-71 for pgsql-admin@arkaria.postgresql.org; Mon, 29 Jan 2024 19:27:21 +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 1rUXHs-00Gy8p-T2 for pgsql-admin@lists.postgresql.org; Mon, 29 Jan 2024 19:27:20 +0000 Received: from cloud.gatewaynet.com ([185.90.37.94]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUXHm-004ODS-0l for pgsql-admin@lists.postgresql.org; Mon, 29 Jan 2024 19:27:20 +0000 Message-ID: <322e64e0-7cc4-4a1c-945b-64244b5c333e@cloud.gatewaynet.com> Date: Mon, 29 Jan 2024 21:27:05 +0200 MIME-Version: 1.0 Subject: Re: pg_repack vs. running logical/physical replication Content-Language: en-US To: pgsql-admin@lists.postgresql.org References: From: Achilleas Mantzios 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 Στις 29/1/24 16:56, ο/η Dirk Krautschick έγραψε: > Hi, > > > is there any good reason to cut of logical and/or physical replication > for the time pg_repack (please no discussion about pg_repack at all, > customer request, his idea, his strict wish) is running? I am not so > deep into how pg_repack is running things but as the docs are saying > it could affect hard at least the publications for logrep. Haven't > tested it yet and just hopeing for a quick answer here :-) Why should logical replication break? Why would you want to fill your repl slots (if any) by suspending physical replication while pg_repack runs? I would advise reading about pg_repack and/or testing yourself to see how it works. > > > Thanks and best regards > > > Dirk > > > -- Achilleas Mantzios IT DEV - HEAD IT DEPT Dynacom Tankers Mgmt (as agents only)