Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nitin Jadhav <nitinjadhavpostgres(at)gmail(dot)com>, Hannu Krosing <hannuk(at)google(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>, Atsushi Torikoshi <atorik(at)gmail(dot)com>, Tatsuro Yamada <tatsuro(dot)yamada(dot)tf(at)nttcom(dot)co(dot)jp>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Evgeny Efimkin <efimkin(at)yandex-team(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
Date: 2021-07-12 20:02:59
Message-ID: 8f5e63b8-e8ed-0f80-d8c4-68222624c200@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22.04.21 11:23, Julien Rouhaud wrote:
> The statistics gathered by the module are made available via a
> view named <structname>pg_stat_statements</structname>. This view
> - contains one row for each distinct database ID, user ID and query
> - ID (up to the maximum number of distinct statements that the module
> + contains one row for each distinct database ID, user ID, query ID and
> + toplevel (up to the maximum number of distinct statements that the module
> can track). The columns of the view are shown in
> <xref linkend="pgstatstatements-columns"/>.

I'm having trouble parsing this new sentence. It now says essentially

"This view contains one row for each distinct database ID, each distinct
user ID, each distinct query ID, and each distinct toplevel."

That last part doesn't make sense.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2021-07-12 20:20:20 Re: proposal - psql - use pager for \watch command
Previous Message Euler Taveira 2021-07-12 19:53:08 Re: row filtering for logical replication