pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: aditya desai <admad123@gmail.com>
To: Pgsql Performance <pgsql-performance@lists.postgresql.org>
Subject: Re: INSERT statement going in IPC Wait_event
Date: Wed, 1 Mar 2023 16:36:38 -0500
Message-ID: <b3b0fe85-e163-af01-792f-3fabef0ff2f2@dunslane.net> (raw)
In-Reply-To: <CAN0SRDF3F5TzLbDaDDyxoRPPmz_3p1ghtotn5H0R0=1SUG6ZOA@mail.gmail.com>
References: <CAN0SRDF3F5TzLbDaDDyxoRPPmz_3p1ghtotn5H0R0=1SUG6ZOA@mail.gmail.com>


On 2023-03-01 We 15:40, aditya desai wrote:
> Hi All,
> Unfortunately I am unable to share a query  plan or query.
>
> I have a SQL which is getting called from a web service. At a certain 
> point where it inserts data in the table . Process is going in a hung 
> state. pg_stat_activity shows wait_even='IPC' , 
> wait_even_type=MessageQueueSend. In Webservice log we see I/O error 
> occurred message.
>
> Surprisingly when I run it from PSQL or pgadmin it runs fine.
>
>

Doesn't this suggest that the problem is probably not with Postgres but 
with your web service (about which you have given us no information 
whatsoever)?


cheers


andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

view thread (3+ messages)  latest in thread

Message-ID: <b3b0fe85-e163-af01-792f-3fabef0ff2f2@dunslane.net>
Permalink:  ../b3b0fe85-e163-af01-792f-3fabef0ff2f2@dunslane.net/
Also on:    postgresql.org/message-id/b3b0fe85-e163-af01-792f-3fabef0ff2f2@dunslane.net

 · 

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-performance@postgresql.org
  Cc: andrew@dunslane.net, admad123@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: INSERT statement going in IPC Wait_event
  In-Reply-To: <b3b0fe85-e163-af01-792f-3fabef0ff2f2@dunslane.net>

* 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