Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: VJKDate: 2010-03-15 15:28:15
Subject: Re: Deleting bytea, autovacuum, and 8.2/8.4 differences
Previous:From: Matthew WakelingDate: 2010-03-15 15:18:07
Subject: Re: Deleting bytea, autovacuum, and 8.2/8.4 differences

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group