backend suddenly becomes slow, then remains slow

From: Andrew Dunstan <andrew(dot)dunstan(at)pgexperts(dot)com>
To: pgsql-perform <pgsql-performance(at)postgresql(dot)org>
Subject: backend suddenly becomes slow, then remains slow
Date: 2012-12-14 18:40:04
Message-ID: 50CB7284.3020008@pgexperts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

One of my clients has an odd problem. Every so often a backend will
suddenly become very slow. The odd thing is that once this has happened
it remains slowed down, for all subsequent queries. Zone reclaim is off.
There is no IO or CPU spike, no checkpoint issues or stats timeouts, no
other symptom that we can see. The problem was a lot worse that it is
now, but two steps have alleviated it mostly, but not completely: much
less aggressive autovacuuming and reducing the maximum lifetime of
backends in the connection pooler to 30 minutes.

It's got us rather puzzled. Has anyone seen anything like this?

cheers

andrew

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message AI Rumman 2012-12-14 19:01:50 Re: Why does the number of rows are different in actual and estimated.
Previous Message Kevin Grittner 2012-12-14 13:48:30 Re: hash join vs nested loop join