Re: Slow Query Help
От | Pavan Deolasee |
---|---|
Тема | Re: Slow Query Help |
Дата | |
Msg-id | CABOikdO7VDWNDPF+ahAK0s0VapO4eQikT31X=58rcyMMiADiBw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Slow Query Help (Kevin Grittner <kgrittn@ymail.com>) |
Список | 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 по дате отправления: