Re: Slow Query

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: Anjul Tyagi <anjul(at)ibosstech-us(dot)com>
Cc: sunil kumar <sunildeshalhre92(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Slow Query
Date: 2019-08-26 13:45:32
Message-ID: CAKoxK+43DS_iyqsVWJ=v98a6uKKDQaenytT_Bx-Z+t8m9tXgJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message sunil kumar 2019-08-26 14:13:08 Re: Slow Query
Previous Message Anjul Tyagi 2019-08-26 13:27:11 Re: Slow Query