Re: max_fsm_pages question

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: max_fsm_pages question
Дата
Msg-id 4B5D7247020000250002EB70@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: max_fsm_pages question  (Michael Monnerie <michael.monnerie@is.it-management.at>)
Ответы Re: max_fsm_pages question
Список pgsql-admin
Michael Monnerie <michael.monnerie@is.it-management.at> wrote:

> such a bloat can't happen in a day.

That is evidence that you may have a problem with some long-running
transaction which stays open for days, possibly "idle in
transaction".  Bloat will accumulate, without any vacuum being able
to prevent it or recover from it, until the transaction terminates.
It will not show up as free space in your vacuum verbose output
while the transaction remains open; although I believe it will show
up in the "dead row versions cannot be removed yet" count.

> Finding out which table the toast belongs to would be great, maybe
> that helps further investigation.

Have a look at reltoastrelid:

http://www.postgresql.org/docs/8.3/interactive/catalog-pg-class.html

-Kevin

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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: how to speed ilike
Следующее
От: Michael Monnerie
Дата:
Сообщение: Re: max_fsm_pages question