Re: Slow Query

From: sunil kumar <sunildeshalhre92(at)gmail(dot)com>
To: Luca Ferrari <fluca1978(at)gmail(dot)com>
Cc: Anjul Tyagi <anjul(at)ibosstech-us(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Slow Query
Date: 2019-08-26 14:13:08
Message-ID: CA+irN8LRE+pCFgKOcViy-Ryd-Q+49_oLeK6FNhb8tdLem-Nb6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ok.. so may i know the caller platform.. and how you are calling the query
whether it is a Funtion or a query only. And which type of conditions you
are applying to return data?

On Mon, 26 Aug 2019, 7:16 p.m. Luca Ferrari, <fluca1978(at)gmail(dot)com> wrote:

> On Mon, Aug 26, 2019 at 3:27 PM Anjul Tyagi <anjul(at)ibosstech-us(dot)com>
> wrote:
> >
> > I am running query without limit.. it works fine in PGAdmin.
> >
>
> You haven't specified the execution plan, nor the application technology.
> My 2 cents go to the fact that the application (driver) could be
> allocating resources to handle the query, and that is something that
> costs.
> Are you really sure the query executed by the application is the query
> you are running or is there any ORM behind the scene?
> What about using auto_explain to see what happens?
>
> Luca
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mai Peng 2019-08-26 15:21:17 Important lag in replication streaming between master and standby
Previous Message Luca Ferrari 2019-08-26 13:45:32 Re: Slow Query