Re: Question on REINDEX

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Question on REINDEX
Дата
Msg-id 200504190857.16634.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Question on REINDEX  ("Tambet Matiisen" <t.matiisen@aprote.ee>)
Ответы Re: Question on REINDEX
Список pgsql-performance
Tambet,

> Hmm, thanks for a tip. BTW, is output of
>
> select count(1), sum(relpages) from pg_class where relkind in
> ('r','i','t')

Well, if you do that for all databases in the cluster, it's the number you
start with.  However, setting FSM_pages to that would be assuming that you
excpected 100% of the rows to be replaced by UPDATES or DELETEs before you
ran VACUUM.   I generally run VACUUM a little sooner than that.

See the end portion of:
http://www.powerpostgresql.com/PerfList

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Postgresql works too slow
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: How to improve db performance with $7K?