Re: [GENERAL] Query Using Massive Temp Space - Mailing list pgsql-general

From Laurenz Albe
Subject Re: [GENERAL] Query Using Massive Temp Space
Date
Msg-id 1511161692.2567.5.camel@cybertec.at
Whole thread Raw
In response to [GENERAL] Query Using Massive Temp Space  (Cory Tucker <cory.tucker@gmail.com>)
Responses Re: [GENERAL] Query Using Massive Temp Space
List pgsql-general
Cory Tucker wrote:
> I have a query that is using a tremendous amount of temp disk space given the overall size of the dataset.
> I'd love for someone to try to explain what PG is doing and why its using so much space for the query.

It could be a sort or a hash operation.

Do determine what is going on, EXPLAIN (ANALYZE, BUFFERS) output
would be useful.

Yours,
Laurenz Albe


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Cory Tucker
Date:
Subject: [GENERAL] Query Using Massive Temp Space
Next
From: Luca Ferrari
Date:
Subject: Re: [GENERAL] unnest-like pg_stats.most_common_values and pg_stats.most_common_freqs