Re: Thoughts on maintaining 7.3

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Thoughts on maintaining 7.3
Дата
Msg-id 200310050317.h953H9L01310@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Thoughts on maintaining 7.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Thoughts on maintaining 7.3  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Thoughts on maintaining 7.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Do we move empty index pages to the end before truncation during vacuum
> > full?
> 
> No.  You'd be better off using REINDEX for that, I think.  IIRC we have
> speculated about making VAC FULL fix the indexes via REINDEX rather than
> indexbulkdelete.

I guess my point is that if you forget to run regular vacuum for a
month, then realize the problem, you can just do a VACUUM FULL and the
heap is back to a perfect state as if you had been running regular
vacuum all along.  That is not true of indexes.  It would be nice if it
would.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Thoughts on maintaining 7.3
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Thoughts on maintaining 7.3