Re: pg_replslotdata - a tool for displaying replication slot information

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_replslotdata - a tool for displaying replication slot information
Дата
Msg-id 20211201225243.hu5ygzyaxr546v52@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_replslotdata - a tool for displaying replication slot information  ("Bossart, Nathan" <bossartn@amazon.com>)
Ответы Re: pg_replslotdata - a tool for displaying replication slot information  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
Hi,

On 2021-11-30 18:43:23 +0000, Bossart, Nathan wrote:
> On 11/30/21, 6:14 AM, "Peter Eisentraut" <peter.eisentraut@enterprisedb.com> wrote:
> > On 23.11.21 06:09, Bharath Rupireddy wrote:
> >> The replication slots data is stored in binary format on the disk under
> >> the pg_replslot/<<slot_name>> directory which isn't human readable. If
> >> the server is crashed/down (for whatever reasons) and unable to come up,
> >> currently there's no way for the user/admin/developer to know what were
> >> all the replication slots available at the time of server crash/down to
> >> figure out what's the restart lsn, xid, two phase info or types of slots
> >> etc.
> >
> > What do you need that for?  You can't do anything with a replication
> > slot while the server is down.

Yes, I don't think there's sufficient need for this.


> I don't have any other compelling use- cases at the moment, but I will say
> that it is typically nice from an administrative standpoint to be able to
> inspect things like this without logging into a running server.

Weighed against the cost of maintaining (including documentation) a separate
tool this doesn't seem sufficient reason.

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Deprecating the term "super-exclusive lock"
Следующее
От: Andres Freund
Дата:
Сообщение: Re: O(n) tasks cause lengthy startups and checkpoints