Re: reindexing - Mailing list pgsql-general

From Scott Marlowe
Subject Re: reindexing
Date
Msg-id dcc563d10802241532w5a0b0824j695d74b765654b17@mail.gmail.com
Whole thread Raw
In response to reindexing  ("LARC/J.L.Shipman/jshipman" <Jeffery.L.Shipman@nasa.gov>)
Responses Re: reindexing
List pgsql-general
On Fri, Feb 22, 2008 at 12:24 PM, LARC/J.L.Shipman/jshipman
<Jeffery.L.Shipman@nasa.gov> wrote:
> Hi,
>         I am reindexing my 7.1.4 postgres database.  The postmaster seems to
>  create processes for each reindex request.  Is there any way to find
>  out more about the processes.
>
>  ps -aef | grep postgres
>
>  yields the following, but does not tell me which table is being
>  reindexed or anything meaningful
>  about the process.

My pgsql-fu regarding obsolete versions is obsolete.  You do realize
that 7.1.x hasn't been supported for a very long time, and for very
good reasons, right?  It's not just obsolete in terms of being
outdated by more modern versions, but is known to have a few data
eating bugs, not to mention the txid wraparound issue.  You should be
planning on how to upgrade it first, then things like this might be
less necessary and / or less of a problem to work with.

In later versions of pgsql you've got a stats collector that can do
things like tell you what queries are running.  As well as
autovacuuming and non-full vacuums that make things like reindexing
mostly uneeded.

pgsql-general by date:

Previous
From: James Robinson
Date:
Subject: no-arg cluster and locks ...
Next
From: Erik Jones
Date:
Subject: Re: "RETURNS SETOF" function question