pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: Matthew T. O'Connor <matthew@zeut.net>
Cc: Oisin Glynn <me@oisinglynn.com>
Cc: pgsql general <pgsql-general@postgresql.org>
Subject: Re: VACUUM Question
Date: Thu, 26 Jan 2006 22:48:11 -0500 (EST)
Message-ID: <5143.71.40.140.99.1138333691.squirrel@mail.tocr.com> (raw)
In-Reply-To: <24593.1138311692@sss.pgh.pa.us>
References: <002a01c622ac$41555af0$1f12fea9@homisco.local>
	<5071.71.40.140.99.1138304142.squirrel@mail.tocr.com>
	<20060126204430.GA97564@winnie.fuhr.org>
	<24593.1138311692@sss.pgh.pa.us>

> Also, somebody made a real good point about rolled-back insertions.
> Even if the only command you ever apply to the table is INSERT, you
> could still have dead rows in the table if some of those transactions
> occasionally roll back.

hmm... That's true.  I don't think autovacuum doesn't anything to account
for the concept of rolledback inserts.  I suppose in most real world
situations that number is going to be small enough to be ignored, but not
in all cases.  Is there anyway for the stats system to report the
information about rolledback inserts?  In fact autovacuum probably has a
similar deficiency for rolled back deletes but not a rolled back update. 
Anyone think this is enough of an issue that it needs more attention?

Matt




view thread (33+ messages)  latest in thread

Message-ID: <5143.71.40.140.99.1138333691.squirrel@mail.tocr.com>
Permalink:  ../5143.71.40.140.99.1138333691.squirrel@mail.tocr.com/
Also on:    postgresql.org/message-id/5143.71.40.140.99.1138333691.squirrel@mail.tocr.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: matthew@zeut.net, tgl@sss.pgh.pa.us, mike@fuhr.org, me@oisinglynn.com
  Subject: Re: VACUUM Question
  In-Reply-To: <5143.71.40.140.99.1138333691.squirrel@mail.tocr.com>
  References: <002a01c622ac$41555af0$1f12fea9@homisco.local> <5071.71.40.140.99.1138304142.squirrel@mail.tocr.com> <20060126204430.GA97564@winnie.fuhr.org> <24593.1138311692@sss.pgh.pa.us> <5143.71.40.140.99.1138333691.squirrel@mail.tocr.com>

* 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