What does pg_stat_get_xact_function_self_time count exactly?

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: What does pg_stat_get_xact_function_self_time count exactly?
Date: 2020-09-25 22:24:48
Message-ID: 5F6E6E30.4030703@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Is the self-time of a tracked function (as reported by
pg_stat_get_xact_function_self_time) its total time minus

- the time of other tracked functions it calls?

- the time of other tracked or untracked functions it calls?

- the time of other tracked/untracked functions or SPI functions it calls?

- something else?

Regards,
-Chap

Browse pgsql-hackers by date

  From Date Subject
Next Message David Zhang 2020-09-25 23:39:02 a potential size overflow issue
Previous Message Tom Lane 2020-09-25 21:58:49 Re: Libpq support to connect to standby server as priority