Re: waiting for client write

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Ayub Khan <ayub(dot)hp(at)gmail(dot)com>
Cc: Pgsql Performance <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: waiting for client write
Date: 2021-06-10 15:40:01
Message-ID: CAMkU=1z-bbdLGPEScnpHaT3ye-jexrvR7gwYsbyNy8oOnD252A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Jun 10, 2021 at 4:06 AM Ayub Khan <ayub(dot)hp(at)gmail(dot)com> wrote:

> I did profiling of the application and it seems most of the CPU
> consumption is for executing the stored procedure. Attached is the
> screenshot of the profile
>

That is of your tomcat server? If that is really a profile of your CPU
time (rather than wall-clock time) then it seems pretty clear your problem
is on the client side, so there isn't much that can be done about it on the
database server.

Cheers,

Jeff

>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dean Gibson (DB Administrator) 2021-06-10 16:07:52 Re: AWS forcing PG upgrade from v9.6 a disaster
Previous Message Joshua Drake 2021-06-10 14:36:26 Re: AWS forcing PG upgrade from v9.6 a disaster