Re: pgsql_tmp( Temporary tablespace)

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "suhas(dot)basavaraj12 *EXTERN*" <suhas(dot)b(at)verse(dot)in>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: pgsql_tmp( Temporary tablespace)
Date: 2012-11-28 08:28:55
Message-ID: D960CB61B694CF459DCFB4B0128514C208C0C32A@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

suhas.basavaraj12 wrote:
> This folde( Temporary tablespace) is getting filled and size increases
in
> the day where there lots of sorting operations.But after some times
the data
> in the is deleted automatically . Can any one explain what is going
on ?

Must be temporary files created by the sorting operations.
If a sort, hash or similar operation is estimated to need
more than work_mem if done in memory, data will be dumped
to disk instead.

If you want to avoid that, you need to increase work_mem
(but make sure you don't run out of memory).

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message suhas.basavaraj12 2012-11-28 08:37:50 Re: pgsql_tmp( Temporary tablespace)
Previous Message suhas.basavaraj12 2012-11-28 06:45:11 pgsql_tmp( Temporary tablespace)