Re: logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir
Дата
Msg-id CAA4eK1K7p9LbpE9BwxEP5FYzO2xz5LbJ0ufn6VHg-mG7grJjGw@mail.gmail.com
обсуждение исходный текст
Ответ на logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: logical decoding/replication: new functions pg_ls_logicaldir and pg_ls_replslotdir  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On Fri, Oct 8, 2021 at 4:39 PM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> Hi,
>
> At times, users want to know what are the files (snapshot and mapping
> files) that are available under pg_logical directory and also the
> spill files that are under pg_replslot directory and how much space
> they occupy.
>

Why can't you use pg_ls_dir to see the contents of pg_replslot? To
know the space taken by spilling, you might want to check
pg_stat_replication_slots[1] as that gives information about
spill_bytes.

[1] - https://www.postgresql.org/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-REPLICATION-SLOTS-VIEW

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Adding CI to our tree
Следующее
От: Nitin Jadhav
Дата:
Сообщение: Re: Multi-Column List Partitioning