Re: Random slow queries - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: Random slow queries
Date
Msg-id CACjxUsMncEHCHsPoAJP+XuOVKJrP2ftF4TRZEuCyiM6Gb4OZ_w@mail.gmail.com
Whole thread Raw
In response to Random slow queries  (devel.brain99@xoxy.net)
Responses Re: Random slow queries
List pgsql-performance
On Tue, Jun 28, 2016 at 8:24 PM,  <devel.brain99@xoxy.net> wrote:

> The problem:
> Most queries execute fast, however sometimes queries on the job
> table (which contains the job queue) take exactly 122 seconds
> (+ 0-50ms) to execute for no clear reason.

> Have I missed something obvious?

Please monitor for the start of such an event and capture the full
contents of pg_stat_activity and pg_locks during that 2 minute
window.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-performance by date:

Previous
From: Niels Kristian Schjødt
Date:
Subject: pg_xlog dir not getting swept
Next
From: Igor Neyman
Date:
Subject: Re: Random slow queries