pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Single table vacuum full different when vacuum full the whole
Date: Mon, 18 Oct 2004 02:49:52 +0200
Message-ID: <41731330.9090105@bigfoot.com> (raw)
In-Reply-To: <15105.1098059951@sss.pgh.pa.us>
References: <417309C0.4020100@bigfoot.com>
	<15105.1098059951@sss.pgh.pa.us>

Tom Lane wrote:
 > Gaetano Mendola <mendola@bigfoot.com> writes:
 >
 >>it seems that a vacuum full on the whole DB is more aggressive.
 >
 >
 > It is not.
 >
 > A much more plausible theory is that this is the result of concurrent
 > changes to the table.  It is clear from the "dead row versions" stats
 > that there were concurrent transactions ...

That is the more updated/inserted table, and yes there were some concurrent
transaction but, is it plausible that 82 dead rows were responsible of grab
26000 index row:

INFO:  index "ua_user_data_exp_id_user_key" now contains 34438 row versions in 886 pages
DETAIL:  27488 index row versions were removed.

instead of:

INFO:  index "ua_user_data_exp_id_user_key" now contains 34519 row versions in 886 pages
DETAIL:  1362 index row versions were removed.





Regards
Gaetano Mendola





view thread (3+ messages)

Message-ID: <41731330.9090105@bigfoot.com>
Permalink:  ../41731330.9090105@bigfoot.com/
Also on:    postgresql.org/message-id/41731330.9090105@bigfoot.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-admin@postgresql.org
  Cc: mendola@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: Single table vacuum full different when vacuum full the whole
  In-Reply-To: <41731330.9090105@bigfoot.com>
  References: <417309C0.4020100@bigfoot.com> <15105.1098059951@sss.pgh.pa.us> <41731330.9090105@bigfoot.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