Re: Slow Query Help - Mailing list pgsql-performance

From Pavan Deolasee
Subject Re: Slow Query Help
Date
Msg-id CABOikdO7VDWNDPF+ahAK0s0VapO4eQikT31X=58rcyMMiADiBw@mail.gmail.com
Whole thread Raw
In response to Re: Slow Query Help  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-performance
On Wed, Feb 6, 2013 at 9:52 PM, Kevin Grittner <kgrittn@ymail.com> wrote:
> Will Platnick <wplatnick@gmail.com> wrote:
>> Will Platnick <wplatnick@gmail.com> wrote:
>
>>> The only thing that stands out is: on your production server I see
>>> "Total runtime: 7.515 ms", but the top node in EXPLAIN ANAYZE shows
>>> actual time as 0.179 ms. Not sure where that additional time is being
>>> spent though. It could be ExecutorStart/End, but have no idea why they
>>> should take so long.
>
>> Any ideas on how to troubleshoot this delay?
>
> Is the client which is running the query on the same machine as the
> server?  If not, what's the ping time between them?
>

I don't think the network latency can cause that. The "Total runtime"
is calculated on the server side itself - see ExplainOnePlan().

Thanks,
Pavan

--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee


pgsql-performance by date:

Previous
From: Will Platnick
Date:
Subject: Re: Slow Query Help
Next
From: Josh Krupka
Date:
Subject: Re: postgresql.conf recommendations