Re: Deleting bytea, autovacuum, and 8.2/8.4 differences

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew Wakeling <matthew(at)flymine(dot)org>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, VJK <vjkmail(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Deleting bytea, autovacuum, and 8.2/8.4 differences
Date: 2010-03-15 15:26:22
Message-ID: 18524.1268666782@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Matthew Wakeling <matthew(at)flymine(dot)org> writes:
> On Mon, 15 Mar 2010, Tom Lane wrote:
>> If deleting a whole table is significant for you performance-wise,
>> you might look into using TRUNCATE instead.

> Might you still end up with a normal delete operation
> on the TOAST table when performing a TRUNCATE on the owner table?

No, you get a TRUNCATE on its toast table too.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message VJK 2010-03-15 15:28:15 Re: Deleting bytea, autovacuum, and 8.2/8.4 differences
Previous Message Matthew Wakeling 2010-03-15 15:18:07 Re: Deleting bytea, autovacuum, and 8.2/8.4 differences