From: Kiriakos Tsourapas <ktsour@gmail.com>
To: Ondrej Ivanič <ondrej.ivanic@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres becoming slow, only full vacuum fixes it
Date: Tue, 25 Sep 2012 14:10:08 +0300
Message-ID: <E2E72F7C-6689-4924-90F6-25A2DDC064A8@gmail.com> (raw)
In-Reply-To: <CAM6mieKGTzUaPUhRwEKMnENps8N-PZ+U98ZkvzY4rsf+0dqTRQ@mail.gmail.com>
References: <D15ECA12-8D6E-4E53-A294-5E175564CA61@gmail.com>
<CAM6mieKGTzUaPUhRwEKMnENps8N-PZ+U98ZkvzY4rsf+0dqTRQ@mail.gmail.com>
Hi,
Suggestion noted.
Nevertheless, I cannot imagine what it would help. Actually, the cost_delay makes autovacuum freeze when it takes more time than expected, therefore, having it enabled should help the system.
I may try it as a last possible resolution (remember that I have to wait for a couple of days for the problem to appear, so any test I perform will be taking days to figure out if it helped !!!)
>
> I had similar issue and I disabled cost based auto vacuum:
> autovacuum_vacuum_cost_delay = -1
>
> -1 says that vacuum_cost_delay will be used and default value for
> vacuum_cost_delay is 0 (ie. off)
>
> Of couse you need to change other autovacuum settings but you did that.
>
> --
> Ondrej Ivanic
> (ondrej.ivanic@gmail.com)
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, ondrej.ivanic@gmail.com
Subject: Re: Postgres becoming slow, only full vacuum fixes it
In-Reply-To: <E2E72F7C-6689-4924-90F6-25A2DDC064A8@gmail.com>
References: <D15ECA12-8D6E-4E53-A294-5E175564CA61@gmail.com> <CAM6mieKGTzUaPUhRwEKMnENps8N-PZ+U98ZkvzY4rsf+0dqTRQ@mail.gmail.com> <E2E72F7C-6689-4924-90F6-25A2DDC064A8@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