Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY4nD-0005PY-46 for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 08:59:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iY4nB-0005ji-Tn for pgsql-general@arkaria.postgresql.org; Fri, 22 Nov 2019 08:59:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iY4nB-0005ja-D2 for pgsql-general@lists.postgresql.org; Fri, 22 Nov 2019 08:59:53 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iY4n4-0004W0-4D for pgsql-general@postgresql.org; Fri, 22 Nov 2019 08:59:52 +0000 Received: by mail-wm1-x32f.google.com with SMTP id u18so6566930wmc.3 for ; Fri, 22 Nov 2019 00:59:45 -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:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=ylvEVonpvGKtzPKLw/ioyW4cRMqyq1knJVoslS3XIZo=; b=QVRYGVaMg4RAIwZCC2E0hfypakbmbvSCHK7JNfy5KhgFj/aEiP4n1AstvdtvwxhkOo e82ifHFBFXK1m04H0LOvtK+4h5km/KikNEz9Eg5uhKGyWjnZOQXZbk2rJvpYh70uskg/ ntBviFwoEX/JH+jcKnF6Lj8utfyMzF46FbtzvR8OB1uNHYchtwmT+e80iwBmYJ0rCBDi xVp4R1uHljyDBN8cztgT7+frDXp1PshzYilrcrR/vipvhMWd/RxYjXwxwFoEa0qSF2U+ OKaGKrtLa9S1P9cr5liikShnkf3fqsHzVl0HR8Mbe/oILZrVAgiiVLHAJW2vR1LCcTIC 76og== 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:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ylvEVonpvGKtzPKLw/ioyW4cRMqyq1knJVoslS3XIZo=; b=XWiR7JWoUgcmy8iE6J2N3ty2gEtdiYZ7Ltkex3LWC/8O0GqxluSmYuw0jYAM3mvSJm xSvARun4wLfgTzfNcfTWcCKwfKlx9bhfX7FQyZDvO6Hux80k3J1d13M5C+F645GOdhI7 4bpSKzm9k8eGoXtUVDQiSKhoZjBMANJ+8zpW4WOewTex8f/MLocZYn4cKbGHA97VHkkA ETAI4YZD6p7Bmr3FpAfyeiz2thcn/AV1v2GN4qGryFrqTlL+vTlBnhroYrWqA6jFUeG0 6vFsOeEBsuL0k7HjG+bz8hokJzqp1yyxlICHDOge2amuLjwE/xZZZlSG1cAV7iTPFTEs k8Fw== X-Gm-Message-State: APjAAAVOw1dbZWQwS9wKEdc5FSlY5uY4D+linwOv2y7g8ZNMa9XpNbAb 3dZ/TXouDKnGAsu32Q/C5v6lOQ== X-Google-Smtp-Source: APXvYqxZcBlojv3+pZrM/EKOGhAZAur5Bs40633l07MXhDAAJxF1KntBDL4Xd3ic1anTdHBEX8tPLA== X-Received: by 2002:a1c:39c1:: with SMTP id g184mr15286469wma.75.1574413184415; Fri, 22 Nov 2019 00:59:44 -0800 (PST) Received: from localhost.localdomain (217-149-170-123.nat.highway.telekom.at. [217.149.170.123]) by smtp.gmail.com with ESMTPSA id 11sm2798699wmb.34.2019.11.22.00.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 00:59:43 -0800 (PST) Message-ID: Subject: Re: Active-Passive DB From: Laurenz Albe To: rutuparna andhare , pgsql-general@postgresql.org Date: Fri, 22 Nov 2019 09:59:43 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2019-11-22 at 14:25 +0530, rutuparna andhare wrote: > In PG , can we have Active1 , Passive1 , Passive2 cluster. > Now all active1 data is present in passive1 and 2. > but when any delete query runs on active1 , same should get replicated on passive1 But delete should not get triggered on passive2. > > so passive2 can be used as archival db. > if active1 fails then , passive1 will become active2. You would need logical replication for passive2. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com