Re: Temp file space (Re: creating an index with tablespace on a dedicated filesystem)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vlad <marchenko(at)gmail(dot)com>
Cc: "Glen Parker" <glenebob(at)nwlink(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Temp file space (Re: creating an index with tablespace on a dedicated filesystem)
Date: 2006-12-14 23:01:54
Message-ID: 29085.1166137314@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vlad <marchenko(at)gmail(dot)com> writes:
> which means that earlier suggestion you've made - to host temp dir on
> a separate hd linked to temp dir under data tree it's not quite a
> straight solution .... I assume that link will be erased by postgres
> every time it finishes operating with temp directory.

No, it just deletes the contents of the directory, it has no occasion to
destroy a symlink.

It is true that you'd have to set the symlink up manually any time you
created a database, but after that it should be a non-issue.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Glen Parker 2006-12-14 23:07:58 Re: Temp file space (Re: creating an index with tablespace
Previous Message Tom Lane 2006-12-14 22:59:07 Re: could not write to log -> PANIC -> System down