pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Richard Huxton <dev@archonet.com>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: vacuum full, why multiple times ?
Date: Wed, 09 Mar 2005 15:30:07 +0100
Message-ID: <422F086F.9080605@bigfoot.com> (raw)
In-Reply-To: <422EEC49.7080202@archonet.com>
References: <422E4B15.60806@bigfoot.com>
	<20050309021533.GB13883@winnie.fuhr.org>
	<422EDDA2.5000901@bigfoot.com>
	<422EEC49.7080202@archonet.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Huxton wrote:
> Gaetano Mendola wrote:
> 
>>
>> # vacuum full verbose url;
>> INFO:  vacuuming "public.url"
>> INFO:  "url": found 74 removable, 21266 nonremovable row versions in
>> 8550 pages
>> DETAIL:  2 dead row versions cannot be removed yet.
>> [SNIP]
>> INFO:  "url": moved 11 row versions, truncated 8550 to 8504 pages
>>
>>
>> and in the next run:
>>
>>
>> # vacuum full verbose url;
>> INFO:  vacuuming "public.url"
>> INFO:  "url": found 13 removable, 21264 nonremovable row versions in
>> 8504 pages
>> DETAIL:  0 dead row versions cannot be removed yet.
>> [SNIP]
>> INFO:  "url": moved 5666 row versions, truncated 8504 to 621 pages
> 
> 
> If page number 8549 was the one being held, I don't think vacuum can
> truncate the file. The empty space can be re-used, but the rows can't be
> moved to a lower page while a transaction is using them.

It's clear now.


Regards
Gaetano Mendola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCLwhu7UpzwH2SGd4RAhEIAKDodnb03RvInDOJz9H+4w//DgJifACeNINP
0UMkQ0yBwNAZw91clvAUjRI=
=e+mM
-----END PGP SIGNATURE-----




view thread (7+ messages)  latest in thread

Message-ID: <422F086F.9080605@bigfoot.com>
Permalink:  ../422F086F.9080605@bigfoot.com/
Also on:    postgresql.org/message-id/422F086F.9080605@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, dev@archonet.com, mike@fuhr.org
  Subject: Re: vacuum full, why multiple times ?
  In-Reply-To: <422F086F.9080605@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