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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hannu Krosing <hannu(at)tm(dot)ee>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Date: 2001-11-23 01:43:59
Message-ID: 200111230143.fAN1hxN16069@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mathieu Guillaume 2001-11-23 10:22:07 counting open cursors?
Previous Message Christopher Kings-Lynne 2001-11-23 01:37:52 Re: TOAST performance (was Re: [GENERAL] Delete Performance)

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-23 01:45:01 Re: More FK patches
Previous Message Hiroshi Inoue 2001-11-23 01:39:12 pg_config.h.win32