Re: Question on REINDEX

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Question on REINDEX
Дата
Msg-id 200504191056.16688.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Question on REINDEX  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Question on REINDEX
Список pgsql-performance
Tom,

> Not at all.  What it says is that you expect 100% of the pages to have
> useful amounts of free space, which is a *much* weaker criterion.

Hmmm.  Good point.

This seems to be another instance where my rule-of-thumb was based on false
logic but nevertheless arrived at correct numbers.  I've seldom, if ever, set
FSM_pages above 50% of the pages in the active database ... and never run
out.

Hmmmm .... actually, it seems like, if you are vacuuming regularly, you only
*do* need to track pages that have been touched by DELETE or UPDATE.   Other
pages would have already been vacuumed and not have any useful free space
left.   Yes?

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: "Mohan, Ross"
Дата:
Сообщение: Re: How to improve db performance with $7K?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question on REINDEX