pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Martin Marques <martin@bugs.unl.edu.ar>
Cc: frank church <pgsql@adontendev.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Does VACUUM reorder tables on clustered indices
Date: Sun, 18 Dec 2005 22:08:22 -0500
Message-ID: <13769.1134961702@sss.pgh.pa.us> (raw)
In-Reply-To: <20051218220139.GA1651@surnet.cl>
References: <1134940325.43a5d0a5a882e@webmail.adontendev.net>
	<Pine.LNX.4.61.0512181840350.20029@bugs.unl.edu.ar>
	<20051218220139.GA1651@surnet.cl>

Alvaro Herrera <alvherre@commandprompt.com> writes:
> Note that while reordering, CLUSTER also gets rid of dead tuples, so if
> you cluster you don't need to vacuum.

Just for the record, that behavior is seriously broken: it violates
MVCC if any of the deleted tuples are still visible to anyone else.

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <13769.1134961702@sss.pgh.pa.us>
Permalink:  ../13769.1134961702@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13769.1134961702@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@commandprompt.com, martin@bugs.unl.edu.ar, pgsql@adontendev.net
  Subject: Re: Does VACUUM reorder tables on clustered indices
  In-Reply-To: <13769.1134961702@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox