pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teja Jakkidi <teja.jakkidi05@gmail.com>
To: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Query_id is not being populated for all the pids
Date: Mon, 20 May 2024 12:48:19 -0700
Message-ID: <B57361F6-41F2-4EF7-B46B-982DF2E4A9C9@gmail.com> (raw)

Hello Admins,

When we query pg_stat_statements in Postgres, it has a column “query_id” which is not having any value for most of the sessions. 

Compute_query_id is set to AUTO

Can someone please help me understand why the query_id is missing most of the sessions and how is it populated in the background?

Thank you,
J. Teja.




view thread (2+ messages)  latest in thread

Message-ID: <B57361F6-41F2-4EF7-B46B-982DF2E4A9C9@gmail.com>
Permalink:  ../B57361F6-41F2-4EF7-B46B-982DF2E4A9C9@gmail.com/
Also on:    postgresql.org/message-id/B57361F6-41F2-4EF7-B46B-982DF2E4A9C9@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: teja.jakkidi05@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Query_id is not being populated for all the pids
  In-Reply-To: <B57361F6-41F2-4EF7-B46B-982DF2E4A9C9@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox