pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres performance slowly gets worse over a month
Date: Thu, 8 Aug 2002 16:55:54 -0400
Message-ID: <20020808165554.S7239@mail.libertyrms.com> (raw)
In-Reply-To: <1028830018.13363.42.camel@skymaster>
References: <1028830018.13363.42.camel@skymaster>

On Thu, Aug 08, 2002 at 02:06:57PM -0400, Robert M. Meyer wrote:
> have a contractor that did the reindex for us so I'm not sure of the
> process at this point.  I suspect that it's something like;
> 1. shut down postgres
> 2. run 'postgres -O -P' to start a single user instantiation of the
> engine
> 3. type 'reindex' to get it to do it
> 4. exit postgres and restart the DB with pg_ctl
> 
> Does that sound about right?

What you are talking about there is reindexing the system tables. 
But "recreating the indexes" as a solution to file growth and
performance problems is not this.  Instead, what you do is drop the
index and recreate it.  At least, that's what I have gathered from
the "reindex" scripts that were sent to the -general list a little
while ago.  

> Any other suggestions?  

Yes.  As someone else suggested, it sounds like you need a full-time
DBA, at least for a little while.

A

-- 
----
Andrew Sullivan                               87 Mowat Avenue 
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




view thread (31+ messages)  latest in thread

Message-ID: <20020808165554.S7239@mail.libertyrms.com>
Permalink:  ../20020808165554.S7239@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20020808165554.S7239@mail.libertyrms.com

 · 

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 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-admin@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: Postgres performance slowly gets worse over a month
  In-Reply-To: <20020808165554.S7239@mail.libertyrms.com>
  References: <1028830018.13363.42.camel@skymaster> <20020808165554.S7239@mail.libertyrms.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