Re: Unexpected cross-database vacuum impact with hot_standby_feedback=on

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Unexpected cross-database vacuum impact with hot_standby_feedback=on
Дата
Msg-id 8f1be0222b943a6fc99e7ef6283bd144d2d3447a.camel@cybertec.at
обсуждение исходный текст
Ответ на Unexpected cross-database vacuum impact with hot_standby_feedback=on  (Owen Stephens <owen@owenstephens.co.uk>)
Ответы Re: Unexpected cross-database vacuum impact with hot_standby_feedback=on
Список pgsql-general
On Thu, 2023-05-18 at 17:34 +0100, Owen Stephens wrote:
> We are seeing that vacuum is prevented from cleaning dead tuples by an open
> transaction in a different database (where both connections are made against the
> primary server) when hot_standby_feedback = on but not when it is off. Is this
> cross-database interaction an expected effect of enabling hot_standby_feedback,
> even if the connections interact only with the primary not the replica?

Yes, that's what I would expect.  There is only one "backend_xmin" in
"pg_stat_replication", which corresponds to the snapshot held by the oldest
query in any database on the standby server.

Yours,
Laurenz Albe



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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Modeling combinations (options and dependencies)
Следующее
От: "Elterman, Michael"
Дата:
Сообщение: Re: Trying to understand a failed upgrade in AWS RDS