pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Greg Smith <greg@2ndquadrant.com>
To: Josh Kupershmidt <schmiddy@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Chris <lists@deksai.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: stats collector suddenly causing lots of IO
Date: Fri, 16 Apr 2010 14:53:10 -0400
Message-ID: <4BC8B216.8030201@2ndquadrant.com> (raw )
In-Reply-To: <m2w4ec1cf761004161135ka272c184u2f0dd8a0c8460d5d@mail.gmail.com >
References: <20100413170105.GA29571@chris-laptop.a2hosting.com >
<25952.1271370711@sss.pgh.pa.us >
<z2s4ec1cf761004160739w3ac5511jd39263dd043e2da6@mail.gmail.com >
<9738.1271431432@sss.pgh.pa.us >
<g2t4ec1cf761004160830q5dff4315rcc0294d342999c35@mail.gmail.com >
<10082.1271432484@sss.pgh.pa.us >
<h2p4ec1cf761004160931r47cf4949o9a2fc14529c17ab1@mail.gmail.com >
<11152.1271436528@sss.pgh.pa.us >
<m2w4ec1cf761004161043yd59174a5h9fb011a16608d96d@mail.gmail.com >
<4BC8A91D.9030709@2ndquadrant.com >
<m2w4ec1cf761004161135ka272c184u2f0dd8a0c8460d5d@mail.gmail.com >
Josh Kupershmidt wrote:
> And it seems the only way
> to compact the pg_catalog tables is VACUUM FULL + REINDEX on 8.3 -- I
> had tried the CLUSTER on my 9.0 machine and wrongly assumed it would
> work on 8.3, too.
>
Right; that just got implemented a couple of months ago. See the news
from http://www.postgresql.org/community/weeklynews/pwn20100214 for a
summary of how the code was gyrated around to support that. This is a
tough situation to get out of in <9.0 because VACUUM FULL is slow and
takes an exclusive lock on the table. That tends to lead toward an
unpredictable window for required downtime, which is never good.
--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com www.2ndQuadrant.us
view thread (22+ messages) latest in thread
Message-ID: <4BC8B216.8030201@2ndquadrant.com>
Permalink: ../4BC8B216.8030201@2ndquadrant.com/
Also on: postgresql.org/message-id/4BC8B216.8030201@2ndquadrant.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: greg@2ndquadrant.com, schmiddy@gmail.com, tgl@sss.pgh.pa.us, lists@deksai.com
Subject: Re: stats collector suddenly causing lots of IO
In-Reply-To: <4BC8B216.8030201@2ndquadrant.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