From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <gsmith@gregsmith.com>
Cc: Duan Ligong <duanlg@nec-as.nec.com.cn>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: too many clog files
Date: Tue, 02 Sep 2008 01:47:01 -0400
Message-ID: <6128.1220334421@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.64.0809020117030.6014@westnet.com>
References: <20080901191255.E398.DUANLG@nec-as.nec.com.cn>
<20080901143359.GC3776@alvh.no-ip.org>
<20080902091602.CA09.DUANLG@nec-as.nec.com.cn>
<Pine.GSO.4.64.0809020117030.6014@westnet.com>
Greg Smith <gsmith@gregsmith.com> writes:
> On Tue, 2 Sep 2008, Duan Ligong wrote:
>> - Can we controll the maximum number of the clog files?
> The reference Alvaro suggested at
> http://www.postgresql.org/docs/8.3/interactive/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND
> goes over that. If you reduce autovacuum_freeze_max_age, that reduces the
> expected maximum size of the clog files.
Duan's first post stated that he is running 8.1, which I believe had a
quite different rule for truncating pg_clog --- it definitely has not
got the parameter autovacuum_freeze_max_age.
Too tired to go reread the 8.1 code right now, but don't quote 8.3
docs at him, 'cause they're not too relevant.
regards, tom lane
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: tgl@sss.pgh.pa.us, gsmith@gregsmith.com, duanlg@nec-as.nec.com.cn, alvherre@commandprompt.com
Subject: Re: too many clog files
In-Reply-To: <6128.1220334421@sss.pgh.pa.us>
References: <20080901191255.E398.DUANLG@nec-as.nec.com.cn> <20080901143359.GC3776@alvh.no-ip.org> <20080902091602.CA09.DUANLG@nec-as.nec.com.cn> <Pine.GSO.4.64.0809020117030.6014@westnet.com> <6128.1220334421@sss.pgh.pa.us>
* 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