Re: reindex/vacuum locking/performance?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: reindex/vacuum locking/performance?
Дата
Msg-id 200310031624.03933.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: reindex/vacuum locking/performance?  ("Matt Clark" <matt@ymogen.net>)
Ответы Re: reindex/vacuum locking/performance?  ("Matt Clark" <matt@ymogen.net>)
Список pgsql-performance
Rob,

> > I think I need full, because there are updates on the table.  As I
> > understand it, an update in pg is an insert/delete, so it needs
> > to be garbage collected.
>
> Yes and no.  You only need a plain VACUUM that is run often enough to
> recover space as fast as you need to grab it.  For heavily updated tables
> run it often - I run it every 5 minutes on some tables.  A VACUUM FULL is
> only needed if you haven't been running VACUUM often enough in the first
> place.

Also, if you find that you need to run VACUUM FULL often, then you need to
raise your max_fsm_pages.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: "Matt Clark"
Дата:
Сообщение: Re: reindex/vacuum locking/performance?
Следующее
От: "Matt Clark"
Дата:
Сообщение: Re: reindex/vacuum locking/performance?