Re: rebuild index question - Mailing list pgsql-admin

From Tom Lane
Subject Re: rebuild index question
Date
Msg-id 16979.1066350328@sss.pgh.pa.us
Whole thread Raw
In response to rebuild index question  ("Glenn Wiorek" <gwiorek@jmlafferty.com>)
List pgsql-admin
"Glenn Wiorek" <gwiorek@jmlafferty.com> writes:
> Hello all,  It appears that the rebuild index command (driven by contrib/re=
> indexdb)  recreates the index with a new oids in the default data directory=
> . This has just caused me a lot of grief to move and relink 329 indices (ag=
> ain) because of space and disk constraints (35 GB to spread across 4 drives=
> ).  Since rebuilding indexes is a common and often needed task how is every=
> one working around this?=20

Manually moving and symlinking tables has always been a painful
alternative.  That's why there's interest in building a tablespace
feature to supplant it.  In the meantime, I think you're stuck.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Donald Fraser"
Date:
Subject: Re: [PERFORM] backup/restore - another area.
Next
From: Greg Reeves
Date:
Subject: postgresql having trouble under load