Re: Memory taken by FSM_relations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory taken by FSM_relations
Дата
Msg-id 5221.1046117860@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory taken by FSM_relations  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Josh Berkus <josh@agliodbs.com> writes:
> I'm not clear on where the memory needed by max_fsm_pages comes from.
> Is it taken out of the shared_buffers, or in addition to them?

In addition to.  Basically max_fsm_pages and max_fsm_relations are used
to ratchet up the postmaster's initial shared memory request to the kernel.

> Further, Joe Conway gave me a guesstimate of 6k per max_fsm_pages
> which seems rather high ...

Quite ;-).  The correct figure is six bytes per fsm_page slot, and
I think about forty bytes per fsm_relation slot (recent versions of
postgresql.conf mention the multipliers, although for some reason
the Admin Guide does not).

            regards, tom lane

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: slow query
Следующее
От: Tom Lane
Дата:
Сообщение: Re: slow query