public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murthy Nunna <[email protected]>
To: [email protected] <[email protected]>
Subject: Query Spins
Date: Mon, 1 Sep 2025 03:52:10 +0000
Message-ID: <DM8PR09MB6677D376F84879E730AAB223B807A@DM8PR09MB6677.namprd09.prod.outlook.com> (raw)

Hi,

Pg16.10


I have a query which runs fine most of the time. When it runs fine, it spawns parallel workers. In pg_stat_activity, wait_event is blank, state is active and backend_type = "client backend" for the main query. For parallel workers of this query I see wait_event = MessageQueueSend, state is active and backend_type = "parallel worker"

But some times, it has no parallel workers. wait_event is blank, state is active and backend_type =client backend. And it never ends. It takes up lot of CPU. The socket on both server and client server are in ESTABLISHED state (netstat -tulpa | grep <client_port>).

I appreciate any help you can provide.




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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Query Spins
  In-Reply-To: <DM8PR09MB6677D376F84879E730AAB223B807A@DM8PR09MB6677.namprd09.prod.outlook.com>

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

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