Re: why so many open files?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why so many open files?
Дата
Msg-id 17272.1212413909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why so many open files?  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: why so many open files?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> why backend process from one database has opened files from other databases?

That's not very surprising at all: a backend might have to write out a
dirty buffer in order to reclaim the buffer for re-use, and which
database the page is from doesn't enter into that.

What does seem surprising is that it's had to do that quite a lot.
Is this an old PG version without a bgwriter process?  In a properly
functioning recent release, I'd expect only the bgwriter to have a
really eclectic mix of open files.

            regards, tom lane

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

Предыдущее
От: "Brian A. Seklecki"
Дата:
Сообщение: Re: [Xen-users] SNMP AgentX subagent for Xen
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: why so many open files?