Re: Performance of the temporary table creation and use. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Performance of the temporary table creation and use.
Date
Msg-id 7203.1106690037@sss.pgh.pa.us
Whole thread Raw
In response to Performance of the temporary table creation and use.  (Luiz Gonzaga da Mata <gonzaga@pbh.gov.br>)
Responses Re: Performance of the temporary table creation and use.  (Luiz Gonzaga da Mata <gonzaga@pbh.gov.br>)
List pgsql-hackers
Luiz Gonzaga da Mata <gonzaga@pbh.gov.br> writes:
>  Although to have changed they sort_mem/work_mem it for 1 MB, it did not 
> use this area in available memory for the connection to make the 
> creation of the temporary table.

Why would you expect it to, and why would you think there is any
advantage?  A small, short-lived temp table will probably never actually
be spilled to disk by the kernel (we never fsync them) so the actual
performance improvement would be minimal.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Shortcut for defining triggers
Next
From: "Jim C. Nasby"
Date:
Subject: Re: userlock changes for 8.1/8.2