Skip site navigation (1) Skip section navigation (2)

Re: Disk Utilization Increases And Time for Vacuum Increases.

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Andrew Sullivan <andrew(at)libertyrms(dot)info>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Disk Utilization Increases And Time for Vacuum Increases.
Date: 2003-08-28 02:12:18
Message-ID: Pine.NEB.4.51.0308281108310.1359@angelic-vtfw.cvpn.cynic.net (view raw or flat)
Thread:
Lists: pgsql-admin
On Tue, 26 Aug 2003, Andrew Sullivan wrote:

> I'm afraid that's the problem, though.  The code cannot recover freed
> btree pages which can't be recycled for others to use.  There is no
> choice but to reindex certain indexes.

While we're at it, anybody got a clue on how to reindex system tables?
Our unit testing framework (yes, we unit test all of our database code)
has to do a lot of schema loads and drops, and the indexes for the
system tables (particularly pg_attribute) tend to grow dramatically,
slowing performance. (The total size of the pg_catalog starts out around
a few megabytes, and doesn't take too long to grow to several hundred
megabytes.)

So far, the only way I've found to fix this is to do a complete dump
and reload of the database, but that's a pain since we have tables with
mutual constraints that can't be reloaded without modifying the dump
file.

cjs
-- 
Curt Sampson  <cjs(at)cynic(dot)net>   +81 90 7737 2974   http://www.NetBSD.org
    Don't you know, in this new Dark Age, we're all light.  --XTC

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2003-08-28 03:07:13
Subject: Re: Disk Utilization Increases And Time for Vacuum Increases.
Previous:From: Marc G. FournierDate: 2003-08-28 02:03:18
Subject: Re: postgresql and replication

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group