Re: Parallel workers stats in pg_stat_database

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Benoit Lobréau <benoit(dot)lobreau(at)dalibo(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parallel workers stats in pg_stat_database
Date: 2024-10-07 08:19:04
Message-ID: CAECtzeVKQe6QusH-U+AFGZQy3Lh7uNAFrWnfouV894s7ZFN4tQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hey,

Le mer. 2 oct. 2024 à 11:12, Benoit Lobréau <benoit(dot)lobreau(at)dalibo(dot)com> a
écrit :

> Hi,
>
> Thanks for your imput ! I will fix the doc as proposed and do the split
> as soon as I have time.
>
>
I've done the split, but I didn't go any further than that.

Two patches attached:
* v5-0001 adds the metrics (same patch than v3-0001 for pg_stat_statements)
* v5-0002 handles the metrics for pg_stat_database.

"make check" works, and I also did a few other tests without any issues.

Regards.

--
Guillaume.

Attachment Content-Type Size
v5-0001-Introduce-two-new-counters-in-EState.patch text/x-patch 2.7 KB
v5-0002-Adds-four-parallel-workers-stat-columns-to-pg_sta.patch text/x-patch 17.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou (Fujitsu) 2024-10-07 08:36:38 RE: BUG #18641: Logical decoding of two-phase commit fails with TOASTed default values
Previous Message Guillaume Lelarge 2024-10-07 08:00:13 Re: Add parallel columns for pg_stat_statements