Re: tuplestore: write failed - Mailing list pgsql-general

From Tom Lane
Subject Re: tuplestore: write failed
Date
Msg-id 5488.1034825761@sss.pgh.pa.us
Whole thread Raw
In response to tuplestore: write failed  ("Fernando Papa" <fpapa@claxson.com>)
List pgsql-general
"Fernando Papa" <fpapa@claxson.com> writes:
> In server's logfile I found this:

> 2002-10-16 11:53:25 ERROR:  tuplestore: write failed

> I run again the query an I get the same error.
> I check the disk space... everithing ok.

Disk space overrun would certainly be the most probable explanation.
Checking free space *after* the failure proves nothing at all, because
the temp files would have been released on failure.  You might try
running "df" at frequent intervals while the query is running to confirm
my guess that it's exhausting disk space.

As for *why* it's exhausting disk space, maybe you are doing an
unconstrained join between two large tables?  It's hard to guess when
you did not show us the failing query nor the schemas for the tables
it uses.

            regards, tom lane

pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Has anyone seen this SPARC bug? [Fwd: Bug#165060: postgresql: int8 value out of range on sparc]
Next
From: Tom Lane
Date:
Subject: Re: signals??