Re: TOAST performance (was Re: [GENERAL] Delete Performance)

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Дата
Msg-id 3BFCCA1F.AF32EF7F@tm.ee
обсуждение исходный текст
Ответ на Re: TOAST performance (was Re: [GENERAL] Delete Performance)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: TOAST performance (was Re: [GENERAL] Delete Performance)  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Tom Lane wrote:
> 
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > What bothers me about this is that we have the original page with the
> > old data.  It would be nice if we could write the new page in a
> > different location, make the new page active and recycle the old page at
> > some later time.
> 
> I don't see how that reduces the total amount of disk traffic?
> 
> It's also kind of unclear how to do it without doubling (or worse) the
> amount of table space used in many common scenarios.  I doubt many
> people will be happy if "DELETE FROM foo" requires transient space equal
> to twice the original size of foo.

IIRC the double space requrement is what has kept us from implementing 
DROP COLUMN.

-----------
Hannu


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Further open item (Was: Status of 7.2)
Следующее
От: Turbo Fredriksson
Дата:
Сообщение: Database mirroring