Re: per backend I/O statistics

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: per backend I/O statistics
Date: 2024-11-07 00:50:59
Message-ID: ZywO84-2K8fxEIx8@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 06, 2024 at 01:51:02PM +0000, Bertrand Drouvot wrote:
> That's not needed, the patch I'm working on stores the proc number in the
> objid field of the key.

Relying on the procnumber for the object ID gets a +1 here. That
provides an automatic cap on the maximum number of entries that can
exist at once for this new stats kind.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2024-11-07 00:51:15 Re: New function normal_rand_array function to contrib/tablefunc.
Previous Message Michael Paquier 2024-11-07 00:45:44 Re: define pg_structiszero(addr, s, r)