Re: add checkpoint stats of snapshot and mapping files of pg_logical dir

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: add checkpoint stats of snapshot and mapping files of pg_logical dir
Дата
Msg-id 20220823174940.GC1207981@nathanxps13
обсуждение исходный текст
Ответ на Re: add checkpoint stats of snapshot and mapping files of pg_logical dir  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: add checkpoint stats of snapshot and mapping files of pg_logical dir  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Re: add checkpoint stats of snapshot and mapping files of pg_logical dir  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On Wed, Aug 17, 2022 at 11:17:24AM +0530, Bharath Rupireddy wrote:
> +                        "logical decoding file(s) processing time=%ld.%03d s",

I would suggest shortening this to something like "logical decoding
processing" or "logical replication processing."

>      CheckPointRelationMap();
>      CheckPointReplicationSlots();
> +
> +    CheckpointStats.l_dec_ops_start_t = GetCurrentTimestamp();
>      CheckPointSnapBuild();
>      CheckPointLogicalRewriteHeap();
> +    CheckpointStats.l_dec_ops_end_t = GetCurrentTimestamp();
> +
>      CheckPointReplicationOrigin();

Shouldn't we include CheckPointReplicationSlots() and
CheckPointReplicationOrigin() in this new stat?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: archive modules
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUG] parenting a PK constraint to a self-FK one (Was: Self FK oddity when attaching a partition)