pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Curious about dead rows.
Date: Wed, 14 Nov 2007 10:22:49 -0500
Message-ID: <20071114152249.GA16041@crankycanuck.ca> (raw)
In-Reply-To: <473AE63D.7090305@verizon.net>
References: <4735DBDB.5050208@verizon.net>
	<16627.1194714491@sss.pgh.pa.us>
	<4735FA9F.1080805@verizon.net>
	<b42b73150711131628q1469df3el6f557e10de07a05@mail.gmail.com>
	<473A5CC0.3060003@verizon.net>
	<b42b73150711131936l65b97b9ya7953383673b2710@mail.gmail.com>
	<473AE63D.7090305@verizon.net>

On Wed, Nov 14, 2007 at 07:12:45AM -0500, Jean-David Beyer wrote:
> 
> I know there have been rollbacks but I do a REINDEX, CLUSTER, and VACUUM
> ANALYZE before starting the inserts in question. Do I need to do a VACUUM
> FULL ANALYZE instead?

I had another idea.  As Alvaro says, CLUSTER will do everything you need. 
But are you sure there are _no other_ transactions open when you do that? 
This could cause problems, and CLUSTER's behaviour with other open
transactions is not, um, friendly prior to the current beta.

A


-- 
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke



view thread (41+ messages)  latest in thread

Message-ID: <20071114152249.GA16041@crankycanuck.ca>
Permalink:  ../20071114152249.GA16041@crankycanuck.ca/
Also on:    postgresql.org/message-id/20071114152249.GA16041@crankycanuck.ca

 · 

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-performance@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: Curious about dead rows.
  In-Reply-To: <20071114152249.GA16041@crankycanuck.ca>

* 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