Re: Reg: Slow query

From: Vasilis Ventirozos <v(dot)ventirozos(at)gmail(dot)com>
To: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Reg: Slow query
Date: 2013-03-27 14:15:30
Message-ID: CAF8jcqoxqfD=mxF4yiwrdXN_vq9DnPinQ21HT_TyS2Fq+kHA3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,
This definitively doesn't look like something that has to do with postgres
settings, can you show us the statement and the explain plan ?
Also , have you checked pg_stat_activity to monitor what is running at the
same time when the delay occurs ?
It kinda looks like a lock to me.

Vasilis Ventirozos

On Wed, Mar 27, 2013 at 4:04 PM, Prakash Chinnakannan <
prakash(dot)chinnakannan(at)gmail(dot)com> wrote:

> Hi all,
>
> Currently, I'm working on a performance issue with a query which takes
> around ~30 sec to complete. This happens only, when there are more
> activity going around same table. The same query completes with in a
> second when there are no activity on that table.
>
> Tried taking EXPLAIN ANALYZE output and analyze it, since it completes
> with in a second, there are no blockers in it.
>
> Is there any way to see whether postgress settings creates the
> problem? which could be related to memory, locks or I/O etc..
>
> Thanks for your help.
> --Prakash
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2013-03-27 22:52:10 Re: 9.2.3 upgrade reduced pgbench performance by 60%
Previous Message Prakash Chinnakannan 2013-03-27 14:04:53 Reg: Slow query