Re: Performance of the temporary table creation and use.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Luiz Gonzaga da Mata <gonzaga(at)pbh(dot)gov(dot)br>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Performance of the temporary table creation and use.
Date: 2005-01-25 21:53:57
Message-ID: 7203.1106690037@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Luiz Gonzaga da Mata <gonzaga(at)pbh(dot)gov(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2005-01-25 21:57:33 Re: userlock changes for 8.1/8.2
Previous Message Jim C. Nasby 2005-01-25 21:52:48 Re: Shortcut for defining triggers