Re: Pgstat.tmp file activity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pgstat.tmp file activity
Дата
Msg-id 16595.1135317639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Pgstat.tmp file activity  ("Dan Austin" <DAustin@au.westfield.com>)
Список 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 по дате отправления:

Предыдущее
От: "Dan Austin"
Дата:
Сообщение: Re: Pgstat.tmp file activity
Следующее
От: Mohamed Fazil
Дата:
Сообщение: Re: How to implement PGSQL8.0 no-installer in Windows 2k,XP & NT ?