Re: TRUNCATE Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex <alex(at)meerkatsoft(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: TRUNCATE Question
Date: 2005-11-10 02:33:04
Message-ID: 4274.1131589984@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex <alex(at)meerkatsoft(dot)com> writes:
> could anyone tell me if it is necessary to run a Vacuum after truncating
> a table or is that done automatically.

TRUNCATE does not require a vacuum; indeed there's nothing left *to* vacuum.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-11-10 02:38:20 Re: TRUNCATE Question
Previous Message Alex 2005-11-10 02:16:24 TRUNCATE Question