From: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, SOzcn <selahattinozcnma(at)gmail(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Vacuum |
Date: | 2024-01-03 15:08:08 |
Message-ID: | CANzqJaAG35eCmwH4AwJjrAarQC+Ns2oHjUP68rLGq8Nb9bf30w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Streaming Replication is file-level replication. Therefore, if a file in
$PGDATA is modified by a Postgresql program, then the file will be
replicated.
VACUUM is a Postgresql "program" that modifies files.
On Wed, Jan 3, 2024 at 6:08 AM Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>
wrote:
> Vacuum removes dead tuples in primary. Are you saying, dead tuples are
> removed in replica?
>
> On Wed, 3 Jan 2024, 15:53 Laurenz Albe, <laurenz(dot)albe(at)cybertec(dot)at> wrote:
>
>> On Wed, 2024-01-03 at 01:22 +0530, Rajesh Kumar wrote:
>> > Vacuum operation happens only in primary. How is that replicated?
>>
>> VACUUM modifies data, data modifications are WAL logged, the WAL
>> is replayed on the standby.
>>
>> Yours,
>> Laurenz Albe
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2024-01-03 15:11:57 | Re: Vacuum |
Previous Message | Rajesh Kumar | 2024-01-03 11:08:14 | Re: Vacuum |