Re: BUG #18046: stats collection behaviour change is affecting the usability of information.

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: bruce(at)momjian(dot)us
Cc: jobin(dot)augustine(at)percona(dot)com, hamid(dot)akhtar(at)percona(dot)com, jobinau(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, andres(at)anarazel(dot)de
Subject: Re: BUG #18046: stats collection behaviour change is affecting the usability of information.
Date: 2023-09-07 05:16:57
Message-ID: 20230907.141657.1604486470664577228.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

At Thu, 07 Sep 2023 14:12:32 +0900 (JST), Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote in
> We could use the transaction start time as a sufficient approximation
> for the timestamp in fast paths. It might not align with with the
> reset time set by pg_stat_reset(), but that shouldn't be a
> problem. pgstat_restore_stats runs outside of a transaction, but

To be accurate, it's not "outside of a transaction", but "before any
transaction starts".

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-09-07 05:26:32 BUG #18091: Unexpected Result by enable_material
Previous Message Kyotaro Horiguchi 2023-09-07 05:12:32 Re: BUG #18046: stats collection behaviour change is affecting the usability of information.