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

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Moshe Jacobson <moshe(at)neadwerx(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: could not write to hash-join temporary file: No space left on device
Date: 2013-06-16 23:11:30
Message-ID: 51BE4622.2090909@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El 14/06/13 18:25, Moshe Jacobson escribió:
> My database is total around 100 gigs of data, and I have 50 gigs free on
> the volume, yet I get this error message. It was a simple join. Is there
> a way to see more information on why I got this error?

Hash-joins can use a lot of space on temp files. Try running the query
and at the same time monitor disk usage from the database temp/
directory ($PGDATA/dboid/temp/).

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martín Marqués 2013-06-16 23:21:12 Re: could not write to hash-join temporary file: No space left on device
Previous Message Martín Marqués 2013-06-16 19:15:02 Re: multilib environment with postgresql92 from CentOS-repos? (9.2.4)