Re: Contrib reindex script:

From: Jason Earl <jason(dot)earl(at)simplot(dot)com>
To: Shaun Thomas <sthomas(at)townnews(dot)com>
Cc: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Contrib reindex script:
Date: 2002-05-07 18:45:44
Message-ID: 87u1pj23vr.fsf@npa01zz001.simplot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Shaun Thomas <sthomas(at)townnews(dot)com> writes:

> I modeled this after the vacuumdb script that is distributed in the
> postgresql-base distribution. It can reindex a whole database, specific
> tables, or just a single index. Being as we've had so much trouble with
> things growing out of control, and the group seems to have tracked it
> down to indexes, here it is.
>
> I don't understand why we have a vacuumdb script, but not a reindex
> script, considering the fact that vacuum doesn't clean up indexes.
>
> Anyway, I didn't bother to comment it, I just copied vacuumdb and
> changed relevant parts. It's not pretty, but it works. Maybe later
> I'll produce one that doesn't look like it was coughed up by a robot.

Hey thanks, I was just wondering if such a thing were available.

How has your migration to 7.2? Are you still have problems with the
database growing out of control?

Jason

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Booth, Robert 2002-05-07 20:56:28 NOT IN query issues
Previous Message Andrey Mosienko 2002-05-07 18:20:52 Reference to NEW, OLD values in TRIGGER