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

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Дата
Msg-id GNELIHDDFBOCMGBFGEFOKEIGCAAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: TOAST performance (was Re: [GENERAL] Delete Performance)  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: TOAST performance (was Re: [GENERAL] Delete Performance)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > 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.

The correct solution then, according methinks to my old Human Computer
Interaction lecturer, is to implement the feature anyway, and warn the DBA
what the consequences are.  That way, the DBA can do it if she wants, unlike
the current situation where it's next to impossible (with lots of
referencing foreign keys).

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Can't "EXTRACT" from a field?
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: pg_config.h.win32