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

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: TOAST performance (was Re: [GENERAL] Delete
Date: 2001-11-20 01:23:24
Message-ID: 1006219404.16480.75.camel@kant.mcmillan.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, 2001-11-20 at 10:11, Hannu Krosing wrote:
>
> > Tom Lane wrote
> >
> >> I did some experimentation here and found a rather surprising
> >> dependency: the time to delete a bunch of data is pretty much
> >> directly proportional to the disk space it occupies. This says
> >> that we're paying through the nose for having XLOG make copies
> >> of about-to-be-modified pages.
> >
> Can't we somehow WAL only metadata and not the actual pages for
> DELETEs - as delete is essentially (though currently not technically)
> just metadata it should be a possible thing to do.

Is it possible to do ordered writes, the way ext3 does?

http://www-106.ibm.com/developerworks/linux/library/l-fs7/

Is an interesting article discussing the approach.

Regards,
Andrew.
--
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Castle 2001-11-20 05:32:28 email time warps
Previous Message Lark 2001-11-19 23:51:54 xxx_seq.nextval:you don't have permissions to set sequence

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-11-20 01:42:01 Re: beta3
Previous Message Marc G. Fournier 2001-11-20 00:32:04 Re: beta3