Re: TOAST performance (was Re: [GENERAL] Delete Performance) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Date
Msg-id 200111230143.fAN1hxN16069@candle.pha.pa.us
Whole thread Raw
In response to Re: TOAST performance (was Re: [GENERAL] Delete Performance)  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List 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).

Yes, I personally am going to try this for 7.3, as well as fix CLUSTER. 
I think someone has already started on CLUSTER anyway.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: pg_config.h.win32
Next
From: Tom Lane
Date:
Subject: Re: pg_config.h.win32