Re: pgsql_tmp consuming all inodes - Mailing list pgsql-general

From Tom Lane
Subject Re: pgsql_tmp consuming all inodes
Date
Msg-id 6039.1416582906@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql_tmp consuming all inodes  ("Nestor A. Diaz" <nestor@tiendalinux.com>)
List pgsql-general
"Nestor A. Diaz" <nestor@tiendalinux.com> writes:
> As you can see from above it creates a lots of temp files for the same
> query.
> And finally the query is this:

Could we see what EXPLAIN says about that?

You might try EXPLAIN ANALYZE too, but we're expecting that to run out
of disk space :-(.

I'm speculating wildly here, but I wonder whether it still runs
out of disk space if you remove the COALESCE((SELECT...)) output
expression.

            regards, tom lane


pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: pgsql_tmp consuming all inodes
Next
From: Adrian Klaver
Date:
Subject: Re: pgsql_tmp consuming all inodes