Thread: could not write to hash-join temporary file: No space left on device

could not write to hash-join temporary file: No space left on device

From
Sean Davis
Date:
Just a quick question, but where is the temporary directory that this error is
complaining about?  I have plenty of disk space, but just need to know how to
move things around....

Sean

Re: could not write to hash-join temporary file: No space left on device

From
Tom Lane
Date:
Sean Davis <sdavis2@mail.nih.gov> writes:
> Just a quick question, but where is the temporary directory that this error is
> complaining about?  I have plenty of disk space, but just need to know how to
> move things around....

$PGDATA/base/yourdboid/pgsql_tmp, or something close to that.  You can
replace that subdirectory by a symlink if you need to.  For security,
be sure the referenced directory is postgres-owned and mode 700.

            regards, tom lane

Re: could not write to hash-join temporary file: No space left on device

From
Sean Davis
Date:
On Tuesday 17 October 2006 09:55, Tom Lane wrote:
> Sean Davis <sdavis2@mail.nih.gov> writes:
> > Just a quick question, but where is the temporary directory that this
> > error is complaining about?  I have plenty of disk space, but just need
> > to know how to move things around....
>
> $PGDATA/base/yourdboid/pgsql_tmp, or something close to that.  You can
> replace that subdirectory by a symlink if you need to.  For security,
> be sure the referenced directory is postgres-owned and mode 700.

That's kinda what I thought--thanks for clarifying.  I have seen this message
only once on a HUGE table, so I just couldn't find the offending file system
easily by free space.

Sean