Re: pg_toast table growth out of control

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_toast table growth out of control
Дата
Msg-id 16383.1015899834@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_toast table growth out of control  ("Jeffrey W. Baker" <jwb@saturn5.com>)
Список pgsql-general
"Jeffrey W. Baker" <jwb@saturn5.com> writes:
>> How big is the freespace map anyway, could this be an example
>> for that this table needs to be vacuumed even more often than
>> once per hour, Tom?

> I don't know how to tell.

I think what Jan was suggesting was increasing the default freespace
map size parameters (see postgresql.conf) to see if that makes any
difference.  I'm not sure if it will, but it'd be worth trying.
Note you will need a postmaster restart after editing postgresql.conf.
These are the relevant items:

#max_fsm_relations = 100    # min 10, fsm is free space map
#max_fsm_pages = 10000        # min 1000, fsm is free space map

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: fmgr_info: function 0: cache lookup failed
Следующее
От: Andrew Snow
Дата:
Сообщение: Can a field be a primary key as well as a foreign key?