Btree indexes temp copy Was [Re: Cluster using tablespaces?]

From: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rainer Bauer <usenet(at)munnin(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Btree indexes temp copy Was [Re: Cluster using tablespaces?]
Date: 2007-11-29 02:02:06
Message-ID: 1196301726.20037.26.camel@neuromancer.home.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Wed, 2007-11-28 at 18:30 -0500, Tom Lane wrote:

> For btree indexes, there is a temporary copy of the index data, which
> will go wherever you have arranged for temp files to go. (I think that
> easy user control of this may be new for 8.3, though.)

In 8.2.5 is there a way to control this? I noticed that when I create a
new index etc, it will hit the os disk (that's where the main tablespace
is located but no data is actually being stored there except for PG's
template1/0 etc table)

I would rather it hit the Raid Array. I looked at the postgres.conf file
but didn't see anything obvious to point out the temp location..

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-11-29 03:09:36 Re: Error compiling Slony I
Previous Message paul rivers 2007-11-29 01:19:37 Re: Another question about partitioning