Re: Do we need to handle orphaned prepared transactions in the server?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Do we need to handle orphaned prepared transactions in the server?
Дата
Msg-id CA+TgmoZ5Dh6AkO65jhVP8HBLtOZ0c_EeHVr_f0gbbwmnJ9b9kw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Do we need to handle orphaned prepared transactions in the server?  (Hamid Akhtar <hamid.akhtar@gmail.com>)
Ответы Re: Do we need to handle orphaned prepared transactions in the server?
Список pgsql-hackers
On Thu, Apr 16, 2020 at 4:43 AM Hamid Akhtar <hamid.akhtar@gmail.com> wrote:
> My real question is whether vacuum should be preemptively complaining about prepared transactions or stale
replicationslots rather than waiting for transaction id to exceed the safe limit. I presume by the time safe limit is
exceeded,vacuum's work would already have been significantly impacted. 

Yeah, for my part, I agree that letting things go until the point
where VACUUM starts to complain is usually bad. Generally, you want to
know a lot sooner. That being said, I think the solution to that is to
run a monitoring tool, not to overload the autovacuum worker with
additional duties.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Making openssl_tls_init_hook OpenSSL specific
Следующее
От: Richard Guo
Дата:
Сообщение: Re: sqlsmith crash incremental sort