pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kiriakos Tsourapas <ktsour@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Postgres becoming slow, only full vacuum fixes it
Date: Fri, 28 Sep 2012 09:52:10 +0300
Message-ID: <5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com> (raw)
In-Reply-To: <34C83EA2-7004-4D37-9674-ADFB4A475C07@gmail.com>
References: <20120926113953.221020@gmx.com>
	<34C83EA2-7004-4D37-9674-ADFB4A475C07@gmail.com>

Dear all,

Just letting you know that making the autovacuum policy more aggressive seems to have fixed the problem.
It's been 4 days now and everything is running smoothly.

Just a reminder, what I changed was :
autovacuum_vacuum_scale_factor = 0.01
autovacuum_analyze_scale_factor = 0.005
making autovacuum run at 1% instead of 20% (the dafault) and the analyze run at 0,5% instead of 10%.

Maybe it's more aggressive than needed... I will monitor and post back.


Thank you all for your help.



view thread (24+ messages)  latest in thread

Message-ID: <5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com>
Permalink:  ../5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com/
Also on:    postgresql.org/message-id/5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: ktsour@gmail.com
  Subject: Re: Postgres becoming slow, only full vacuum fixes it
  In-Reply-To: <5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com>
  References: <20120926113953.221020@gmx.com> <34C83EA2-7004-4D37-9674-ADFB4A475C07@gmail.com> <5526E5B0-DDCD-4D47-91B7-B3D4CA11A83E@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox