Re: 7.4.5 file write issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.4.5 file write issue
Дата
Msg-id 13401.1109115891@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 7.4.5 file write issue  ("Chris White (cjwhite)" <cjwhite@cisco.com>)
Ответы Re: 7.4.5 file write issue  ("Chris White (cjwhite)" <cjwhite@cisco.com>)
Список pgsql-admin
"Chris White (cjwhite)" <cjwhite@cisco.com> writes:
> We are noticing on our 7.4.5 system the following files are being written
> approximately every 5 minutes

> /tmp/.s.PGSQL.5432
> /tmp/.s.PGSQL.5432.lock

> Anybody know why they are being written?

So they don't get eaten by overenthusiastic /tmp cleaner scripts.

> The reason I ask is because we are
> running on a system that uses a laptop disk drive and requires at least 10
> minutes idle time to spindown so it can recalibrate. This did not happen
> when we were running 7.4.2, so does anybody have any idea what may have
> changed between 7.4.2 and 7.4.5 to cause this to happen.

In 7.4 it's done every checkpoint.  Perhaps you changed your checkpoint
settings?

In 8.0 it looks like the interval is hardwired to 10 minutes; you'd have
to hack postmaster.c if you don't like it.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Chris White (cjwhite)"
Дата:
Сообщение: 7.4.5 file write issue
Следующее
От: "Chris White (cjwhite)"
Дата:
Сообщение: Re: 7.4.5 file write issue