Re: Vacuum

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: Vacuum
Дата
Msg-id CANzqJaAG35eCmwH4AwJjrAarQC+Ns2oHjUP68rLGq8Nb9bf30w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Vacuum  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Список 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.dba09@gmail.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.albe@cybertec.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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Re: Vacuum
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Vacuum