Re: Where are the temporary work / sort files please

From: Andy Shellam <andy(at)andycc(dot)net>
To: adey <adey11(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Where are the temporary work / sort files please
Date: 2006-07-13 08:14:24
Message-ID: 44B600E0.80802@andycc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

These do exist as the documentation says - I found them in my 8.1.3
install, but only for a couple of databases. Perhaps they're only used
when there has a need to be swapping data to disk?

adey wrote:
> The postgresql parameter explanation for work_mem say :-
>
> "Another way to set this value is to monitor the Postgres temp files
> (in PGDATA/base/DB_OID/pgsql_tmp) and adjust sort_mem
> upward if you see a lot of queries swapping from these temp files."
>
> ...but I can't find pgsql_tmp in my v8.1.4 installation.
> Where can I find these temp files please?
>
> !DSPAM:14,44b5cb6f34532045524622!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Hyatt, Gordon 2006-07-13 14:04:24 PostgreSQL 8.1.4 install failure on Win XP Home laptop
Previous Message Joshua D. Drake 2006-07-13 06:07:48 Re: Identifying object from file on disk