Re: Pgstat.tmp file activity - Mailing list pgsql-admin

From Tom Lane
Subject Re: Pgstat.tmp file activity
Date
Msg-id 16595.1135317639@sss.pgh.pa.us
Whole thread Raw
In response to Re: Pgstat.tmp file activity  ("Dan Austin" <DAustin@au.westfield.com>)
List pgsql-admin
"Dan Austin" <DAustin@au.westfield.com> writes:
> One of Sun's kernel engineers has come up with a solution that seems to
> have fixed the problem. Instead of increasing work_mem (which we still
> might do) we've mounted a swapfs partition over the pg temp directory:
>   # mount | grep pgsql_tmp
>   /export/data/pgsql/data/base/64920741/pgsql_tmp on swap [...]
> This has actually reduced the disk activity considerably. So far, the
> blocking problem seems to have gone.

OK, so the stats collector is off the hook: it's not writing anything
in that directory.  I'd say you have a pretty conventional
query-optimization problem here after all --- you want to cut the
traffic into those temp files.  You ought to be looking at EXPLAIN
ANALYZE info for your common queries.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Dan Austin"
Date:
Subject: Re: Pgstat.tmp file activity
Next
From: Mohamed Fazil
Date:
Subject: Re: How to implement PGSQL8.0 no-installer in Windows 2k,XP & NT ?