pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Wienhold <ewie@ewie.name>
Cc: Ian Lawrence Barwick <barwick@gmail.com>
Cc: Hilbert, Karin <ioh1@psu.edu>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Database size different on Primary and Standby?
Date: Wed, 18 Jan 2023 20:09:00 -0500
Message-ID: <3967467.1674090540@sss.pgh.pa.us> (raw)
In-Reply-To: <1018934732.57323.1674089227907@office.mailbox.org>
References: <MN2PR02MB6829B5EC7F70762F6136DC6789C79@MN2PR02MB6829.namprd02.prod.outlook.com>
	<1852652390.56939.1674085819457@office.mailbox.org>
	<CAB8KJ=gf6Eb_GcJQAKSMkg0HKL3ggRoj+k8SR3qvBQDrz9HoxA@mail.gmail.com>
	<1018934732.57323.1674089227907@office.mailbox.org>

Erik Wienhold <ewie@ewie.name> writes:
> On 19/01/2023 01:23 CET Ian Lawrence Barwick <barwick@gmail.com> wrote:
>> This is incorrect; with streaming replication all changes applied on the primary
>> are applied on the standby.

> Thanks. I was thinking about logical replication.

It's not entirely clear whether the OP is talking about physical or
logical replication --- the discrepancy would sure be a lot easier
to explain if it is logical rep.  In physical rep the databases
*should* be pretty much physically identical.  I think though that
the amount of WAL that's being kept around could be different.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <3967467.1674090540@sss.pgh.pa.us>
Permalink:  ../3967467.1674090540@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3967467.1674090540@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ewie@ewie.name, barwick@gmail.com, ioh1@psu.edu
  Subject: Re: Database size different on Primary and Standby?
  In-Reply-To: <3967467.1674090540@sss.pgh.pa.us>
  References: <MN2PR02MB6829B5EC7F70762F6136DC6789C79@MN2PR02MB6829.namprd02.prod.outlook.com> <1852652390.56939.1674085819457@office.mailbox.org> <CAB8KJ=gf6Eb_GcJQAKSMkg0HKL3ggRoj+k8SR3qvBQDrz9HoxA@mail.gmail.com> <1018934732.57323.1674089227907@office.mailbox.org> <3967467.1674090540@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox