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