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 1kaKoh-0006u3-UH for pgsql-admin@arkaria.postgresql.org; Wed, 04 Nov 2020 15:35:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kaKoe-00013b-Dg for pgsql-admin@arkaria.postgresql.org; Wed, 04 Nov 2020 15:35:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaKoe-00013U-24 for pgsql-admin@lists.postgresql.org; Wed, 04 Nov 2020 15:35:16 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kaKob-0000RN-1i for pgsql-admin@lists.postgresql.org; Wed, 04 Nov 2020 15:35:14 +0000 Received: by mail-wm1-x330.google.com with SMTP id k18so2712049wmj.5 for ; Wed, 04 Nov 2020 07:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=g7yBLjGybMa/T+piOvjNMlls5Anz6GDxAgsb8fpVAAc=; b=PNht31mXakW2SIYLCxWFD6O8Y8Ay0EUXO/F0Knlunkt4xpzwF4FzMCewIeIDvB68b5 u1zun8pq6ExEq4/7fFta4GbFLRsW3BQqH+xkz2BCMQHHMCXa8/wRuDOQFhUENFH4Ezrj s+qEau5Umw9wK7nwAuBhCcRD8BjsD1SKaP7RB+8YyzIJ2w+LFA1lyreoiHj7l3CI31ah OPiZ3qc0i0Ob8VVrYTv9J9F973afDSjMHGGtkQsbWNXj3Y14mWcTfYoDzUo8BGP9dqGR Hq9LACM/xSDdChp4YEMtBLP/lLGSCLlAPWWe1SbH+XkxJFt5vHXgNzp4/Tloh62md57v jqKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=g7yBLjGybMa/T+piOvjNMlls5Anz6GDxAgsb8fpVAAc=; b=R9HNOk4f0gs2MBMGBaZvsq7hBNwoW1LpnMpbjAM07NcI95a5hWsHnAUzlueQbIur03 3FNUNMTshZQCZyYpSSiN4qHY4TKrrbzkiEt41RV8nxwxjaNU7MRdEA3Gudg2Kso8z49H 1ENP3PPGX55koCXEITZNdBl1wLaad6myXQPYpyxMPs/usBWNQl7RfNTmJUe1gCapttao jlmX8114R6Gm9HZISnH0xRR6bFB78TxwRjqXy1F9H8MSy3xIeirSBAfZhOBIuOjcgp08 d6v6LMoxm7pirg07yck+1VXhdA3IJBiQ9VBeLjD/NumzxCwY+P3X1ioh10JC/i9hw1aU aK7w== X-Gm-Message-State: AOAM530xbvLwjYcrktPuGatrDxw7KWHOLfCaLajIZ7VxESErbF4kaTuG qhD+/vqyE5NO49NjjgASfJv76w== X-Google-Smtp-Source: ABdhPJxbxSaf5yn2rYQgJ4I3aaRC3GFcHvxy0395XnDtcvDzCi89OWRLyYp6aK9qOGs/r3U/BO8B5g== X-Received: by 2002:a1c:7202:: with SMTP id n2mr5023198wmc.38.1604504109916; Wed, 04 Nov 2020 07:35:09 -0800 (PST) Received: from localhost.localdomain (217-149-173-42.nat.highway.telekom.at. [217.149.173.42]) by smtp.gmail.com with ESMTPSA id 30sm3262740wrs.84.2020.11.04.07.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 07:35:09 -0800 (PST) Message-ID: <95a62c9dc6e707ae6181f3146b521c7a7e29cd49.camel@cybertec.at> Subject: Re: Logical replication alternative From: Laurenz Albe To: Yambu , Holger Jakobs Cc: pgsql-admin@lists.postgresql.org Date: Wed, 04 Nov 2020 16:35:08 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2020-11-04 at 13:34 +0200, Yambu wrote: > > Why do you need an alternative to logical replication? Please tell us > > why logical replication isn't for you. > > 1. We want to update the few tables once a day > 2. We want to avoid restart the mission critical database, changing wal_level requires a restart I think that you should plan the restart - it is only a short downtime. All the other solutions (Skytools, Slony, ...) are way more invasive: they will create triggers on your precious database, which can slow down data modifications considerably. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com