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

Re: "Consider compacting this relation..." ???

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "Kynn Jones" <kynnjo(at)gmail(dot)com>, "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: "Consider compacting this relation..." ???
Date: 2008-02-29 05:47:22
Message-ID: 22734.1204264042@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
"Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
> On Thu, Feb 28, 2008 at 3:14 PM, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
>> What does the hint mean by "compacting"?  What exactly must I do to compact
>> this table?

> Vacuum full

CLUSTER is a good alternative also, though pre-8.3 you need to consider
that it's not MVCC-safe; that could be important in heavily concurrent
applications.

			regards, tom lane

In response to

pgsql-general by date

Next:From: Klint GoreDate: 2008-02-29 06:00:59
Subject: Re: rule question
Previous:From: DeviDate: 2008-02-29 05:21:04
Subject: Re: rule question

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