Re: creating an index with tablespace on a dedicated filesystem (postgresql 8.1.5)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vlad <marchenko(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: creating an index with tablespace on a dedicated filesystem (postgresql 8.1.5)
Date: 2006-12-13 23:07:15
Message-ID: 12874.1166051235@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vlad <marchenko(at)gmail(dot)com> writes:
> we use tablespace feature to keep indexes on a dedicated raid array
> (for performance). What I've noticed is that when the index were
> created, based on the i/o activity it seemed that postgres was
> creating the index file somewhere on the array where the default table
> space is hosted and the data is stored.

Temp files are created in $PGDATA/base/yourdb/pgsql_tmp/. If you have a
mind to, you can replace that subdirectory with a symlink to a (suitably
secure) directory elsewhere.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Manuel Sugawara 2006-12-13 23:36:04 Slow query in 8.2.0
Previous Message Bruce Momjian 2006-12-13 23:06:07 Re: Marking indexes out of date (WAS: loading data,