Re: remove flatfiles.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove flatfiles.c
Дата
Msg-id 10271.1251848576@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: remove flatfiles.c  (Greg Stark <gsstark@mit.edu>)
Ответы Re: remove flatfiles.c  (Robert Haas <robertmhaas@gmail.com>)
Re: remove flatfiles.c  (daveg <daveg@sonic.net>)
Re: remove flatfiles.c  (Andrew McNamara <andrewm@object-craft.com.au>)
Список pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> On Wed, Sep 2, 2009 at 12:01 AM, Alvaro
> Herrera<alvherre@commandprompt.com> wrote:
>>> The use cases where VACUUM FULL wins currently are where storing two
>>> copies of the table and its indexes concurrently just isn't practical.
>> 
>> Yeah, but then do you really need to use VACUUM FULL? �If that's really
>> a problem then there ain't that many dead tuples around.

> That's what I want to believe. But picture if you have, say a
> 1-terabyte table which is 50% dead tuples and you don't have a spare
> 1-terabytes to rewrite the whole table.

But trying to VACUUM FULL that table is going to be horridly painful
too, and you'll still have bloated indexes afterwards.  You might as
well just live with the 50% waste, especially since if you did a
full-table update once you'll probably do it again sometime.

I'm having a hard time believing that VACUUM FULL really has any
interesting use-case anymore.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: remove flatfiles.c
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Linux LSB init script