pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedrebuild index question
3+ messages / 3 participants
[nested] [flat]
* rebuild index question
@ 2003-10-16 19:28 Glenn Wiorek <gwiorek@jmlafferty.com>
0 siblings, 2 replies; 3+ messages in thread
From: Glenn Wiorek @ 2003-10-16 19:28 UTC (permalink / raw)
To: pgsql-admin
Hello all, It appears that the rebuild index command (driven by contrib/reindexdb) 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 (again) 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 everyone working around this?
For that matter how are folks dealing with laying out large databases across multiple drives??
Thanks,
Glenn
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: rebuild index question
@ 2003-10-16 19:41 Bruno Wolff III <bruno@wolff.to>
parent: Glenn Wiorek <gwiorek@jmlafferty.com>
1 sibling, 0 replies; 3+ messages in thread
From: Bruno Wolff III @ 2003-10-16 19:41 UTC (permalink / raw)
To: Glenn Wiorek <gwiorek@jmlafferty.com>; +Cc: pgsql-admin
On Thu, Oct 16, 2003 at 14:28:09 -0500,
Glenn Wiorek <gwiorek@jmlafferty.com> wrote:
> Hello all, It appears that the rebuild index command (driven by contrib/reindexdb) 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 (again) 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 everyone working around this?
This should be a lot better in 7.4. Most people should not need to do
reindexes.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: rebuild index question
@ 2003-10-17 00:25 Tom Lane <tgl@sss.pgh.pa.us>
parent: Glenn Wiorek <gwiorek@jmlafferty.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2003-10-17 00:25 UTC (permalink / raw)
To: Glenn Wiorek <gwiorek@jmlafferty.com>; +Cc: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-10-17 00:25 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 19:28 rebuild index question Glenn Wiorek <gwiorek@jmlafferty.com>
2003-10-16 19:41 ` Bruno Wolff III <bruno@wolff.to>
2003-10-17 00:25 ` Tom Lane <tgl@sss.pgh.pa.us>
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