Re: Multi-second pauses blocking even trivial activity

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: draaglom(at)gmail(dot)com
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Multi-second pauses blocking even trivial activity
Date: 2018-09-07 14:32:00
Message-ID: CAMkU=1xqJgnEEnYCnVbQXZpYxLfw6PokXDR3A68THjqN-Fnqhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Sep 7, 2018 at 8:00 AM Patrick Molgaard <draaglom(at)gmail(dot)com> wrote:

> Hi folks,
>
> I've been seeing some curious behaviour on a postgres server I administer.
>
> Intermittently (one or two times a week), all queries on that host are
> simultaneously blocked for extended periods (10s of seconds).
>
> The blocked queries are trivial & not related to locking - I'm seeing
> slowlogs of the form:
>
> `LOG: duration: 22627.299 ms statement: SET client_encoding='''utf-8''';`
>
>
Do you have log_lock_waits set to on? If not, you might want to turn it on.

Cheers,

Jeff

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Felix Geisendörfer 2018-09-07 15:56:30 GIN Index has O(N^2) complexity for array overlap operator?
Previous Message Patrick Molgaard 2018-09-07 11:56:12 Multi-second pauses blocking even trivial activity