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 1nX64F-0004QN-MO for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2022 18:50:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nX64E-0007ki-B8 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2022 18:50:46 +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 1nX64E-0007kY-1F for pgsql-hackers@lists.postgresql.org; Wed, 23 Mar 2022 18:50:46 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX649-0001sy-D0 for pgsql-hackers@lists.postgresql.org; Wed, 23 Mar 2022 18:50:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DA7DD32005D8; Wed, 23 Mar 2022 14:50:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 23 Mar 2022 14:50:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=5zai6INFsPxaOL7ZDxcxgbRSpm5YdE+k3AEkNcBII7E=; b=cnIJzP64 hEgB5mFmEgTN93OW7E8ua6DC++Z+46kQrQY/zkeChhbWVEUQfMeRvMMBGXwhLXs9 s15MPIDSBt+WLnoqYBNfHOxFmadRXI32wLYdvh0cMXthnnczsIlHTVZA6+wv6fPO 2T5o071T3YRATuZ/eGGxQHwDHBRcDi9pe/Kg72m7KKGcd1hHwFz7SkTVd2/e3/o+ /zdSdGPuTLlAcKpI3MOujWVfJ/gdYKXV9AluGmgA+98WUA+kTZL/47EgY5vmp2/p osUhXk7U+H94wk4afDYV48L1QX4DnL51tJhpaSTRL8peEcg2u3xD7Tc4rZTrx5s6 eopGVn0/Nx1YKA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudegjedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeelgfetfeeitdelleeg geejvefhueetfedvtdejheevueeifeegvdfhueeludetueenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Mar 2022 14:50:36 -0400 (EDT) Message-ID: <0da1d053-2213-e54c-87d8-042d1ed76b63@enterprisedb.com> Date: Wed, 23 Mar 2022 19:50:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: speed up a logical replica setup Content-Language: en-US To: Andrew Dunstan , Euler Taveira , pgsql-hackers@lists.postgresql.org References: <5ac50071-f2ed-4ace-a8fd-b892cffd33eb@www.fastmail.com> From: Peter Eisentraut 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 18.03.22 23:34, Andrew Dunstan wrote: > On 3/15/22 09:51, Peter Eisentraut wrote: >> On 21.02.22 13:09, Euler Taveira wrote: >>> A new tool called pg_subscriber does this conversion and is tightly >>> integrated >>> with Postgres. >> >> Are we comfortable with the name pg_subscriber?  It seems too general. >> Are we planning other subscriber-related operations in the future?  If >> so, we should at least make this one use a --create option or >> something like that. > > > Not really sold on the name (and I didn't much like the name > pglogical_create_subscriber either, although it's a cool facility and > I'm happy to see us adopting something like it). > > ISTM we should have a name that conveys that we are *converting* a > replica or equivalent to a subscriber. The pglogical tool includes the pg_basebackup run, so it actually "creates" the subscriber from scratch. Whether this tool is also doing that is still being discussed.